ci(bin-image): populate DOCKER_GITCOMMIT
Signed-off-by: Bjorn Neergaard <bjorn.neergaard@docker.com>
(cherry picked from commit 9aed6308d4
)
Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
This commit is contained in:
parent
3ce0dc7e35
commit
448ae33f87
1 changed files with 2 additions and 0 deletions
2
.github/workflows/bin-image.yml
vendored
2
.github/workflows/bin-image.yml
vendored
|
@ -118,6 +118,8 @@ jobs:
|
|||
./docker-bake.hcl
|
||||
/tmp/bake-meta.json
|
||||
targets: bin-image
|
||||
env:
|
||||
DOCKER_GITCOMMIT: ${{ github.sha }}
|
||||
set: |
|
||||
*.platform=${{ matrix.platform }}
|
||||
*.output=type=image,name=${{ env.MOBYBIN_REPO_SLUG }},push-by-digest=true,name-canonical=true,push=${{ github.event_name != 'pull_request' }}
|
||||
|
|
Loading…
Reference in a new issue