From ed0ba39796d10f5444b88a3c144ee5184404188e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexis=20M=C3=A9taireau?= Date: Wed, 27 Nov 2024 15:08:47 +0100 Subject: [PATCH] fixup! Filter using 'release=' --- .github/workflows/release-container-image.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release-container-image.yml b/.github/workflows/release-container-image.yml index 83f51bd..bbb5c55 100644 --- a/.github/workflows/release-container-image.yml +++ b/.github/workflows/release-container-image.yml @@ -27,6 +27,7 @@ jobs: runs-on: ubuntu-24.04 steps: - uses: actions/checkout@v4 + - name: Build and push the dangerzone image id: build-image run: | @@ -37,8 +38,8 @@ jobs: podman push \ dangerzone.rocks/dangerzone \ ${{ env.IMAGE_REGISTRY }}/${{ env.IMAGE_NAME }} - DIGEST=$(podman images --filter "id=dangerzone.rocks/dangerzone" --format "{{ .Digest }}") - echo ${DIGEST} + DIGEST=$(podman images --filter "reference=dangerzone.rocks/dangerzone" --format "{{ .Digest }}") + echo "Digest: ${DIGEST}" echo "digest=${DIGEST}" >> "$GITHUB_OUTPUT" - name: Generate artifact attestation