From 34f6bba4a156d079236deff6eda29acb7382151c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=8F=E5=BC=9F=E8=B0=83=E8=B0=83?= Date: Mon, 18 Sep 2023 17:29:49 +0800 Subject: [PATCH] doc: Update ci.yml --- .github/workflows/ci.yml | 44 ++++++++++++++++++++-------------------- 1 file changed, 22 insertions(+), 22 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 662b674..7d70eea 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -146,30 +146,30 @@ jobs: platforms: linux/amd64,linux/arm64 tags: wcjiang/reference:${{steps.changelog.outputs.version}} - # Create Docker Image in Github - - name: Login to the GitHub Container Registry - uses: docker/login-action@v2 - with: - registry: ghcr.io - username: ${{ github.actor }} - password: ${{ secrets.GITHUB_TOKEN }} + # # Create Docker Image in Github + # - 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: - push: true - context: . - platforms: linux/amd64,linux/arm64 - tags: ghcr.io/jaywcjlove/reference:latest + # - name: Build and push image:latest + # uses: docker/build-push-action@v3 + # with: + # push: true + # context: . + # platforms: linux/amd64,linux/arm64 + # tags: ghcr.io/jaywcjlove/reference:latest - - name: Build and push image:tags - uses: docker/build-push-action@v3 - if: steps.create_tag.outputs.successful - with: - push: true - context: . - platforms: linux/amd64,linux/arm64 - tags: ghcr.io/jaywcjlove/reference:${{steps.changelog.outputs.version}} + # - name: Build and push image:tags + # uses: docker/build-push-action@v3 + # if: steps.create_tag.outputs.successful + # with: + # push: true + # context: . + # platforms: linux/amd64,linux/arm64 + # tags: ghcr.io/jaywcjlove/reference:${{steps.changelog.outputs.version}} # # Create Docker Image in Github # - name: Login to GitHub registry