From 1b7d3edd307f8bf9e0ae29e76f6f2d8c0de5a3c0 Mon Sep 17 00:00:00 2001 From: Ben Busby Date: Wed, 20 Oct 2021 12:39:04 -0600 Subject: [PATCH] Split latest and tagged buildx actions Reduces redundancy with builds when creating a tag --- .github/workflows/buildx.yml | 1 + 1 file changed, 1 insertion(+) 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