Skip to content

Commit

Permalink
Use a step ID in github release action to get the digest of the image (
Browse files Browse the repository at this point in the history
…#1028)

Signed-off-by: Cosmin Cojocar <[email protected]>
  • Loading branch information
ccojocar authored Oct 9, 2023
1 parent 53fc0c3 commit 2b62dd1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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}}
Expand All @@ -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}}

0 comments on commit 2b62dd1

Please sign in to comment.