Skip to content

Commit fc97c4b

Browse files
committed
更新docker.yml,使image名自适应,不影响主仓库
(cherry picked from commit fdb89af)
1 parent e515f0f commit fc97c4b

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

.github/workflows/docker.yml

+9-9
Original file line numberDiff line numberDiff line change
@@ -19,26 +19,26 @@ jobs:
1919
with:
2020
username: ${{ secrets.DOCKER_USERNAME }}
2121
password: ${{ secrets.DOCKER_PASSWORD }}
22-
23-
-
22+
23+
-
2424
name: Extract metadata (tags, labels) for Docker
2525
id: meta
2626
uses: docker/metadata-action@v4
2727
with:
28-
images: ahzmr/chatgpt-next-web
28+
images: ${{ secrets.DOCKER_USERNAME }}/chatgpt-next-web
2929
tags: |
3030
type=raw,value=latest
3131
type=ref,event=tag
32-
33-
-
32+
33+
-
3434
name: Set up QEMU
3535
uses: docker/setup-qemu-action@v2
3636

37-
-
37+
-
3838
name: Set up Docker Buildx
3939
uses: docker/setup-buildx-action@v2
40-
41-
-
40+
41+
-
4242
name: Build and push Docker image
4343
uses: docker/build-push-action@v4
4444
with:
@@ -49,4 +49,4 @@ jobs:
4949
labels: ${{ steps.meta.outputs.labels }}
5050
cache-from: type=gha
5151
cache-to: type=gha,mode=max
52-
52+

0 commit comments

Comments
 (0)