From affb450b56b565fad63cb070659f24ed66ab5701 Mon Sep 17 00:00:00 2001 From: Cosmin Cojocar Date: Mon, 9 Oct 2023 10:32:11 +0200 Subject: [PATCH] Use a step ID in github release action to get the digest of the image Signed-off-by: Cosmin Cojocar --- .github/workflows/release.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ab1e56bab5..171824517d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -61,6 +61,7 @@ jobs: COSIGN_PASSWORD: ${{secrets.COSIGN_PASSWORD}} - name: Release Docker Image uses: docker/build-push-action@v5 + id: relimage with: platforms: linux/amd64,linux/arm/v7,linux/arm64 tags: ${{steps.meta.outputs.tags}} @@ -73,4 +74,4 @@ jobs: TAGS: ${{steps.meta.outputs.tags}} COSIGN_PASSWORD: ${{secrets.COSIGN_PASSWORD}} COSIGN_PRIVATE_KEY: /tmp/cosign.key - DIGEST: ${{steps.build-push-action.outputs.digest}} + DIGEST: ${{steps.relimage.outputs.digest}}