From 05b33f1f8ecb2e7133c8189e0dc769e3096d4b69 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=B3=E9=88=9E?= Date: Sun, 14 Jan 2024 21:37:54 +0800 Subject: [PATCH] ci: Add the missing build-args: GIT_SHA in first no_module build step MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 陳鈞 --- .github/workflows/docker_publish.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/docker_publish.yml b/.github/workflows/docker_publish.yml index 6955c7b..0672c28 100644 --- a/.github/workflows/docker_publish.yml +++ b/.github/workflows/docker_publish.yml @@ -41,6 +41,8 @@ jobs: load: true target: no_model labels: ${{ steps.setup.outputs.labels }} + build-args: | + GIT_SHA=${{ github.sha }} platforms: linux/amd64 cache-from: type=gha cache-to: type=gha,mode=max @@ -103,6 +105,8 @@ jobs: load: true target: no_model labels: ${{ steps.setup.outputs.labels }} + build-args: | + GIT_SHA=${{ github.sha }} platforms: linux/amd64 cache-from: type=gha cache-to: type=gha,mode=max