diff --git a/.github/workflows/buildx.yml b/.github/workflows/buildx.yml index eaa528d..cd4e106 100644 --- a/.github/workflows/buildx.yml +++ b/.github/workflows/buildx.yml @@ -26,6 +26,7 @@ jobs: echo "${{ secrets.DOCKER_PASSWORD }}" | \ docker login -u "${{ secrets.DOCKER_USERNAME }}" --password-stdin - name: build and push the image + if: startsWith(github.ref, 'refs/heads/main') run: | docker run --rm --privileged multiarch/qemu-user-static --reset -p yes docker buildx ls