From fdb89af355737cc47f072d5f0dfc58c3eea4d93e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=BB=87=E6=A2=A6=E4=BA=BA?= <1887944+ahzmr@users.noreply.github.com> Date: Sun, 18 Aug 2024 21:19:06 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0docker.yml=EF=BC=8C=E4=BD=BFi?= =?UTF-8?q?mage=E5=90=8D=E8=87=AA=E9=80=82=E5=BA=94=EF=BC=8C=E4=B8=8D?= =?UTF-8?q?=E5=BD=B1=E5=93=8D=E4=B8=BB=E4=BB=93=E5=BA=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/docker.yml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index d9c21a011..65ae617f5 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -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: @@ -49,4 +49,4 @@ jobs: labels: ${{ steps.meta.outputs.labels }} cache-from: type=gha cache-to: type=gha,mode=max - +