Skip to content

Commit 1b1ac61

Browse files
committed
Switch tag reference from release version to commit SHA in CI workflow
1 parent c0e3b8a commit 1b1ac61

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
- name: Determine image tags and deploy environment
4444
id: tags
4545
run: |
46-
VERSION=${{ github.event.release.tag_name }}
46+
VERSION=${{ github.sha }}
4747
echo "backend_tags=${{ env.BACKEND_IMAGE }}:${VERSION},${{ env.BACKEND_IMAGE }}:latest" >> $GITHUB_OUTPUT
4848
echo "frontend_tags=${{ env.FRONTEND_IMAGE }}:${VERSION},${{ env.FRONTEND_IMAGE }}:latest" >> $GITHUB_OUTPUT
4949
echo "deploy_env=production" >> $GITHUB_OUTPUT

0 commit comments

Comments
 (0)