Skip to content

Commit

Permalink
fix: ci workflow commit sha tag
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmedhussiien committed Feb 3, 2024
1 parent 6ff3c1e commit 6900217
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down

0 comments on commit 6900217

Please sign in to comment.