fix: use SHA tags instead of latest for GHCR images

This commit is contained in:
MythEclipse
2026-06-19 19:12:23 +07:00
parent 2d3776b54b
commit d447523bb1
2 changed files with 11 additions and 7 deletions
+1 -2
View File
@@ -38,7 +38,6 @@ jobs:
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
tags: |
type=raw,value=latest
type=sha,prefix=
- name: Build and push Docker image
@@ -54,4 +53,4 @@ jobs:
with:
token: ${{ secrets.DEPLOY_TOKEN }}
event-type: deploy
client-payload: '{"image_tag": "${{ github.sha }}"}'
client-payload: '{"image_tag": "${{ steps.meta.outputs.version }}"}'