FIX(docker): fix docker/metadata-action prefix

- Match prefix with extraction logic
- Fix image tag generation
This commit is contained in:
2025-11-24 21:34:54 +09:00
parent 12f5d80a2d
commit 23ca477aea
2 changed files with 2 additions and 2 deletions

View File

@@ -51,7 +51,7 @@ jobs:
type=ref,event=pr type=ref,event=pr
type=semver,pattern={{version}} type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}} type=semver,pattern={{major}}.{{minor}}
type=sha,prefix={{branch}}- type=sha,prefix={{branch}}-sha-,format=long
type=raw,value=latest,enable={{is_default_branch}} type=raw,value=latest,enable={{is_default_branch}}
- name: Build and push Docker image - name: Build and push Docker image

View File

@@ -13,7 +13,7 @@ commonLabels:
# 이미지 태그 설정 # 이미지 태그 설정
images: images:
- name: ghcr.io/mayne0213/jovies - name: ghcr.io/mayne0213/jovies
newTag: main-sha-0703539 newTag: main-sha-d1d37b59becf3353859edaebc58ac01dba9a0e55
patchesStrategicMerge: patchesStrategicMerge:
- deployment-patch.yaml - deployment-patch.yaml