diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 1f694f72..dfd4d996 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -69,16 +69,16 @@ 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-share-manager image - name: Build and publish image diff --git a/Makefile b/Makefile index 5a62a2db..78a7a5f8 100644 --- a/Makefile +++ b/Makefile @@ -27,9 +27,9 @@ buildx-machine: # - IID_FILE_FLAG: optional, options to generate image ID file .PHONY: workflow-image-build-push workflow-image-build-push-secure workflow-image-build-push: buildx-machine - MACHINE=$(MACHINE) OUTPUT_ARGS='--push' bash scripts/package + MACHINE=$(MACHINE) OUTPUT_ARGS='--load' bash scripts/package workflow-image-build-push-secure: buildx-machine - MACHINE=$(MACHINE) OUTPUT_ARGS='--push' IS_SECURE=true bash scripts/package + MACHINE=$(MACHINE) OUTPUT_ARGS='--load' IS_SECURE=true bash scripts/package .DEFAULT_GOAL := ci