Skip to content

Commit

Permalink
Split latest and tagged buildx actions
Browse files Browse the repository at this point in the history
Reduces redundancy with builds when creating a tag
  • Loading branch information
benbusby authored Oct 20, 2021
1 parent 6a229eb commit 1b7d3ed
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/buildx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1b7d3ed

Please sign in to comment.