From f6dd986e7fab83aab13e280f61a2fb71d9b165d6 Mon Sep 17 00:00:00 2001 From: Chris Hambridge Date: Fri, 13 Jan 2023 11:29:54 -0500 Subject: [PATCH] Check image GitHub Action fix to remove ENV variable (#4097) * Fix skopeo error with ENV variable --- .github/workflows/check-image.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/check-image.yml b/.github/workflows/check-image.yml index 8170428678..e06379fd6f 100644 --- a/.github/workflows/check-image.yml +++ b/.github/workflows/check-image.yml @@ -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