From cf6de0ffa669053a470e6616b37b0699cf182cd3 Mon Sep 17 00:00:00 2001 From: Raphanus Lo Date: Fri, 7 Feb 2025 17:37:17 +0800 Subject: [PATCH] DO NOT MERGE --- .github/workflows/build.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ae14166f..4e0c2b9a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -85,21 +85,21 @@ jobs: name: Build and push image runs-on: ubuntu-latest needs: build - if: ${{ startsWith(github.ref, 'refs/heads/') || startsWith(github.ref, 'refs/tags/') }} + #if: ${{ startsWith(github.ref, 'refs/heads/') || startsWith(github.ref, 'refs/tags/') }} steps: - name: Checkout code uses: actions/checkout@v4 - - name: Login to Docker Hub - uses: docker/login-action@v3 - with: - username: ${{ secrets.DOCKER_USERNAME }} - password: ${{ secrets.DOCKER_PASSWORD }} + #- name: Login to Docker Hub + # uses: docker/login-action@v3 + # with: + # username: ${{ secrets.DOCKER_USERNAME }} + # password: ${{ secrets.DOCKER_PASSWORD }} # longhornio/longhorn-cli image - name: Build and publish image env: - REPO: docker.io/longhornio + REPO: invalid.registry TAG: ${{ needs.build.outputs.image_tag }} TARGET_PLATFORMS: linux/amd64,linux/arm64 run: make workflow-image-build-push