From 6588880b3147f6de97c8596f6e2d25d2a4cae577 Mon Sep 17 00:00:00 2001 From: Manav Rathi Date: Wed, 27 Mar 2024 13:02:46 +0530 Subject: [PATCH] Use the correct commit, not the current one --- .github/workflows/server-publish.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/server-publish.yml b/.github/workflows/server-publish.yml index d728a3e3c..5badbff20 100644 --- a/.github/workflows/server-publish.yml +++ b/.github/workflows/server-publish.yml @@ -32,7 +32,7 @@ jobs: image: server registry: ghcr.io enableBuildKit: true - buildArgs: GIT_COMMIT=${GITHUB_SHA} - tags: ${GITHUB_SHA}, latest + buildArgs: GIT_COMMIT=$${ inputs.commit }} + tags: ${{ inputs.commit }}, latest username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }}