Skip to content

Commit d63e25a

Browse files
committed
fix(cicd): release tags
1 parent d9cc1da commit d63e25a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/cicd.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,9 @@ jobs:
3737
- name: Push release image to GitHub Container Registry
3838
if: startsWith(github.ref, 'refs/tags/v')
3939
run: |
40-
docker tag ghcr.io/${REPO}:${{ github.ref }} ghcr.io/${REPO}:${{ github.ref_name }}
41-
docker tag ghcr.io/${REPO}:${{ github.ref }} ghcr.io/${REPO}:stable
42-
docker tag ghcr.io/${REPO}:${{ github.ref }} ghcr.io/${REPO}:latest
40+
docker tag ghcr.io/${REPO}:${{ github.sha }} ghcr.io/${REPO}:${{ github.ref_name }}
41+
docker tag ghcr.io/${REPO}:${{ github.sha }} ghcr.io/${REPO}:stable
42+
docker tag ghcr.io/${REPO}:${{ github.sha }} ghcr.io/${REPO}:latest
4343
docker push ghcr.io/${REPO}:${{ github.ref_name }}
4444
docker push ghcr.io/${REPO}:stable
4545
docker push ghcr.io/${REPO}:latest

0 commit comments

Comments
 (0)