From 448ae33f875e43ddcd30c8cadfbafb2cbd942637 Mon Sep 17 00:00:00 2001 From: Bjorn Neergaard Date: Thu, 17 Aug 2023 11:34:38 -0600 Subject: [PATCH] ci(bin-image): populate DOCKER_GITCOMMIT MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Bjorn Neergaard (cherry picked from commit 9aed6308d42eecabc78900c3c68488b75eff0337) Signed-off-by: Paweł Gronowski --- .github/workflows/bin-image.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/bin-image.yml b/.github/workflows/bin-image.yml index 182f02c04f..ffdd25fb6b 100644 --- a/.github/workflows/bin-image.yml +++ b/.github/workflows/bin-image.yml @@ -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' }}