From 1b278b872d5831c057d607a2c3f6a8d26e6457bc Mon Sep 17 00:00:00 2001 From: admin Date: Sat, 4 Apr 2026 00:49:18 +0800 Subject: [PATCH] chore: comment out Docker-related steps in build workflow --- .github/workflows/build.yml | 66 ++++++++++++++++++------------------- 1 file changed, 33 insertions(+), 33 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d377951..a66e34c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -64,40 +64,40 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - - name: Docker - Set up Buildx - id: buildx - uses: docker/setup-buildx-action@v3 + # - name: Docker - Set up Buildx + # id: buildx + # uses: docker/setup-buildx-action@v3 - - name: Docker - Login to DockerHub - uses: docker/login-action@v3 - with: - username: ${{ secrets.DOCKERHUB_USERNAME }} - password: ${{ secrets.DOCKERHUB_TOKEN }} + # - name: Docker - Login to DockerHub + # uses: docker/login-action@v3 + # with: + # username: ${{ secrets.DOCKERHUB_USERNAME }} + # password: ${{ secrets.DOCKERHUB_TOKEN }} - - name: Docker - Login to GHCR - uses: docker/login-action@v3 - with: - registry: ghcr.io - username: ${{ github.repository_owner }} - password: ${{ secrets.GITHUB_TOKEN }} + # - name: Docker - Login to GHCR + # uses: docker/login-action@v3 + # with: + # registry: ghcr.io + # username: ${{ github.repository_owner }} + # password: ${{ secrets.GITHUB_TOKEN }} - - name: Docker - Docker meta - id: meta - uses: docker/metadata-action@v5 - with: - images: | - ${{ env.DOCKERHUB_REPO }} - ${{ env.GHCR_REPO }} - tags: | - type=ref,event=branch - type=semver,pattern={{version}} - type=semver,pattern={{major}}.{{minor}} + # - name: Docker - Docker meta + # id: meta + # uses: docker/metadata-action@v5 + # with: + # images: | + # ${{ env.DOCKERHUB_REPO }} + # ${{ env.GHCR_REPO }} + # tags: | + # type=ref,event=branch + # type=semver,pattern={{version}} + # type=semver,pattern={{major}}.{{minor}} - - name: Docker - Build and push - uses: docker/build-push-action@v6 - with: - context: . - file: .Dockerfile - platforms: ${{ env.PLATFORMS }} - push: ${{ github.event_name != 'pull_request' }} - tags: ${{ steps.meta.outputs.tags }} + # - name: Docker - Build and push + # uses: docker/build-push-action@v6 + # with: + # context: . + # file: .Dockerfile + # platforms: ${{ env.PLATFORMS }} + # push: ${{ github.event_name != 'pull_request' }} + # tags: ${{ steps.meta.outputs.tags }}