From bf95105b59f585409aa0e2abea1dc28ba45f3df3 Mon Sep 17 00:00:00 2001 From: eryajf Date: Tue, 11 Apr 2023 10:54:22 +0800 Subject: [PATCH] perf: remove ghcr iamge build --- .github/workflows/docker-image.yml | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index c36496d..3228302 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -62,19 +62,19 @@ jobs: ${{ secrets.DOCKERHUB_USERNAME }}/chatgpt-dingtalk:latest # 镜像推送到 ghcr - - name: Login to the GitHub Container Registry - uses: docker/login-action@v2 - with: - registry: ghcr.io - username: ${{ github.actor }} - password: ${{ secrets.GITHUB_TOKEN }} + # - name: Login to the GitHub Container Registry + # uses: docker/login-action@v2 + # with: + # registry: ghcr.io + # username: ${{ github.actor }} + # password: ${{ secrets.GITHUB_TOKEN }} - - name: Build and push image:latest - uses: docker/build-push-action@v3 - with: - context: . - push: true - platforms: linux/amd64,linux/arm64 - tags: | - ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/chatgpt-dingtalk:${{ env.GITHUB_REF_NAME }} - ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/chatgpt-dingtalk:latest \ No newline at end of file + # - name: Build and push image:latest + # uses: docker/build-push-action@v3 + # with: + # context: . + # push: true + # platforms: linux/amd64,linux/arm64 + # tags: | + # ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/chatgpt-dingtalk:${{ env.GITHUB_REF_NAME }} + # ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/chatgpt-dingtalk:latest \ No newline at end of file