fixup! Filter using 'release='

This commit is contained in:
Alexis Métaireau 2024-11-27 15:08:47 +01:00
parent b12334305d
commit ed0ba39796
No known key found for this signature in database
GPG key ID: C65C7A89A8FFC56E

View file

@ -27,6 +27,7 @@ jobs:
runs-on: ubuntu-24.04 runs-on: ubuntu-24.04
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- name: Build and push the dangerzone image - name: Build and push the dangerzone image
id: build-image id: build-image
run: | run: |
@ -37,8 +38,8 @@ jobs:
podman push \ podman push \
dangerzone.rocks/dangerzone \ dangerzone.rocks/dangerzone \
${{ env.IMAGE_REGISTRY }}/${{ env.IMAGE_NAME }} ${{ env.IMAGE_REGISTRY }}/${{ env.IMAGE_NAME }}
DIGEST=$(podman images --filter "id=dangerzone.rocks/dangerzone" --format "{{ .Digest }}") DIGEST=$(podman images --filter "reference=dangerzone.rocks/dangerzone" --format "{{ .Digest }}")
echo ${DIGEST} echo "Digest: ${DIGEST}"
echo "digest=${DIGEST}" >> "$GITHUB_OUTPUT" echo "digest=${DIGEST}" >> "$GITHUB_OUTPUT"
- name: Generate artifact attestation - name: Generate artifact attestation