Skip to content

Commit

Permalink
Check image GitHub Action fix to remove ENV variable (project-koku#4097)
Browse files Browse the repository at this point in the history
* Fix skopeo error with ENV variable
  • Loading branch information
chambridge authored Jan 13, 2023
1 parent af3e9db commit f6dd986
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/check-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
run: sudo apt-get install -y skopeo
- name: Check change
run: |
BASE_IMAGE="registry.access.redhat.com/ubi8/ubi-minimal:latest" skopeo inspect "docker://${BASE_IMAGE}" | grep -Po '(?<="Digest": ")([^"]+)' > .baseimagedigest
skopeo inspect "docker://registry.access.redhat.com/ubi8/ubi-minimal:latest" | grep -Po '(?<="Digest": ")([^"]+)' > .baseimagedigest
docker run --rm --entrypoint sh -u 0 quay.io/cloudservices/koku:latest -c \
'yum upgrade -y --security > /dev/null; rpm -qa | sort | sha256sum' \
>> .baseimagedigest
Expand Down

0 comments on commit f6dd986

Please sign in to comment.