Skip to content

Commit

Permalink
更新docker.yml,使image名自适应,不影响主仓库
Browse files Browse the repository at this point in the history
(cherry picked from commit fdb89af)
  • Loading branch information
ahzmr committed Aug 18, 2024
1 parent e515f0f commit fc97c4b
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,26 +19,26 @@ jobs:
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
-

-
name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@v4
with:
images: ahzmr/chatgpt-next-web
images: ${{ secrets.DOCKER_USERNAME }}/chatgpt-next-web
tags: |
type=raw,value=latest
type=ref,event=tag
-
-
name: Set up QEMU
uses: docker/setup-qemu-action@v2

-
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
-

-
name: Build and push Docker image
uses: docker/build-push-action@v4
with:
Expand All @@ -49,4 +49,4 @@ jobs:
labels: ${{ steps.meta.outputs.labels }}
cache-from: type=gha
cache-to: type=gha,mode=max

0 comments on commit fc97c4b

Please sign in to comment.