From 690021742488b957d7b9c6f20ca54a8992d0632c Mon Sep 17 00:00:00 2001 From: Ahmed Hussein Date: Sat, 3 Feb 2024 10:54:35 +0200 Subject: [PATCH] fix: ci workflow commit sha tag --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b847bed..792dd43 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -25,7 +25,7 @@ jobs: - name: Construct Tags id: tags run: | - sha_short=$(echo ${{ inputs.commit-sha }} | head -c 7 ) + sha_short=$(echo ${{ github.sha }} | head -c 7 ) image_latest_tag=ghcr.io/${{ github.repository_owner }}/${{env.IMAGE_NAME}}:latest image_commit_tag=ghcr.io/${{ github.repository_owner }}/${{env.IMAGE_NAME}}:${sha_short}