Skip to content

Commit 8724b7c

Browse files
authored
Merge pull request #20 from yokowu/main
chore: 去除镜像版本多余的v前缀
2 parents e17c4dd + dbd5827 commit 8724b7c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/backend-ci-cd.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ jobs:
9898
push: true
9999
platforms: linux/amd64, linux/arm64
100100
tags: |
101-
${{ env.REGISTRY }}/backend:v${{ steps.get_version.outputs.VERSION }}
101+
${{ env.REGISTRY }}/backend:${{ steps.get_version.outputs.VERSION }}
102102
${{ env.REGISTRY }}/backend:latest
103103
build-args: |
104104
GOCACHE=/tmp/go-build

.github/workflows/frontend-ci-cd.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ jobs:
127127
push: true
128128
platforms: linux/amd64, linux/arm64
129129
tags: |
130-
${{ env.REGISTRY }}/frontend:v${{ needs.build.outputs.version }}
130+
${{ env.REGISTRY }}/frontend:${{ needs.build.outputs.version }}
131131
${{ env.REGISTRY }}/frontend:latest
132132
cache-from: type=gha
133-
cache-to: type=gha,mode=max
133+
cache-to: type=gha,mode=max

0 commit comments

Comments
 (0)