diff --git a/.github/workflows/build-image.yml b/.github/workflows/build-image.yml index 521f60d..43aedcb 100644 --- a/.github/workflows/build-image.yml +++ b/.github/workflows/build-image.yml @@ -57,7 +57,6 @@ jobs: uses: docker/setup-buildx-action@v3 - name: Login to DockerHub - if: github.ref == 'refs/heads/main' uses: docker/login-action@v3 with: username: ${{ secrets.DOCKERHUB_USERNAME }} @@ -67,7 +66,7 @@ jobs: uses: docker/build-push-action@v6 with: context: . - push: github.ref == 'refs/heads/main' + push: true platforms: ${{ env.PLATFORMS }} tags: ${{ steps.prep.outputs.tags }} cache-from: type=gha,scope=${{ env.DOCKER_IMAGE_NAME }}