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:
Bjorn Neergaard 2023-08-17 11:34:38 -06:00 committed by Paweł Gronowski
parent 3ce0dc7e35
commit 448ae33f87
No known key found for this signature in database
GPG key ID: B85EFCFE26DEF92A

View file

@ -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' }}