Skip to content

Commit 2a8ae44

Browse files
committed
try to fix latest tag bug
1 parent 3447268 commit 2a8ae44

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.github/workflows/docker-build.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ jobs:
3131
uses: docker/metadata-action@v5
3232
with:
3333
images: ghcr.io/${{ github.repository }}
34+
flavor: |
35+
latest=false
3436
tags: |
3537
# 1. 永远生成一个以 Tag 命名的镜像 (如 v1.0.0 或 v1.1.0-beta)
3638
type=ref,event=tag

docker-compose.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
services:
22
app:
3-
build: .
4-
container_name: website-monolith
3+
image: ghcr.io/pdnode-team/website:v1.0.0-dev.6
4+
container_name: pdnode-website
55
ports:
66
- "8090:8090"
77
volumes:

0 commit comments

Comments
 (0)