diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index d8e7da1..10e09ea 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -73,7 +73,7 @@ jobs: # Step 8: Get the short commit SHA to use as an image tag. - name: Get short commit hash id: commit - run: echo "sha_short=$(echo ${{ gitea.commit_sha }} | cut -c1-7)" >> $GITEA_OUTPUT + run: echo "sha_short=$(echo ${{ gitea.sha }} | cut -c1-7)" >> $GITEA_OUTPUT # Step 9: Build the Docker image and push it to the Gitea registry. # The image is tagged with 'latest' and the short commit SHA.