Skip to content

Commit

Permalink
feat: Add image digest metadata as build arg
Browse files Browse the repository at this point in the history
  • Loading branch information
yngvark authored and staticaland committed Feb 2, 2024
1 parent 1ac801c commit 608488b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/reusable-docker-build-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,7 @@ jobs:
IMAGE_CREATED_DATETIME=${{ fromJSON(steps.docker-meta.outputs.json).labels['org.opencontainers.image.created'] }}
IMAGE_VERSION=${{ fromJSON(steps.docker-meta.outputs.json).labels['org.opencontainers.image.version'] }}
IMAGE_REVISION=${{ fromJSON(steps.docker-meta.outputs.json).labels['org.opencontainers.image.revision'] }}
IMAGE_DIGEST=${{ fromJSON(steps.docker-meta.outputs.json).labels['org.opencontainers.image.digest'] }}
GITHUB_REPOSITORY=${{ github.repository }}
GIT_COMMIT_SHA=${{ github.sha }}
GIT_BEFORE_SHA=${{ github.event.before }}
Expand Down

0 comments on commit 608488b

Please sign in to comment.