Skip to content

Commit 88e6368

Browse files
committed
fix: remove redundant tag from docker image and push commands
1 parent df38c56 commit 88e6368

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/cd.deploy.stg.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,14 +49,14 @@ jobs:
4949
5050
- name: Build docker image
5151
run: |
52-
docker buildx build -f api.Dockerfile . -t ghcr.io/dzcode-io/api-dot-stage-dot-dzcode-dot-io-server:latest:latest
52+
docker buildx build -f api.Dockerfile . -t ghcr.io/dzcode-io/api-dot-stage-dot-dzcode-dot-io-server:latest
5353
env:
5454
DOCKER_BUILDKIT: 1
5555

5656
- name: Push docker image
5757
run: |
5858
echo $CR_PAT | docker login ghcr.io -u dzcode-io --password-stdin
59-
docker push ghcr.io/dzcode-io/api-dot-stage-dot-dzcode-dot-io-server:latest:latest
59+
docker push ghcr.io/dzcode-io/api-dot-stage-dot-dzcode-dot-io-server:latest
6060
env:
6161
CR_PAT: ${{ secrets.CR_PAT }}
6262

0 commit comments

Comments
 (0)