From 73ffb48bfbbc1fb927c689914cfff5992129da0f Mon Sep 17 00:00:00 2001 From: Bjorn Neergaard Date: Thu, 17 Aug 2023 13:17:33 -0600 Subject: [PATCH] ci(bin-image): populate DOCKER_GITCOMMIT, take 2 Signed-off-by: Bjorn Neergaard --- .github/workflows/bin-image.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/bin-image.yml b/.github/workflows/bin-image.yml index ffdd25fb6b..aa6d41130c 100644 --- a/.github/workflows/bin-image.yml +++ b/.github/workflows/bin-image.yml @@ -113,13 +113,13 @@ jobs: name: Build id: bake uses: docker/bake-action@v3 + env: + DOCKER_GITCOMMIT: ${{ github.sha }} with: files: | ./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' }}