Split latest and tagged buildx actions
Reduces redundancy with builds when creating a tagmain
parent
6a229eba5f
commit
1b7d3edd30
|
@ -26,6 +26,7 @@ jobs:
|
||||||
echo "${{ secrets.DOCKER_PASSWORD }}" | \
|
echo "${{ secrets.DOCKER_PASSWORD }}" | \
|
||||||
docker login -u "${{ secrets.DOCKER_USERNAME }}" --password-stdin
|
docker login -u "${{ secrets.DOCKER_USERNAME }}" --password-stdin
|
||||||
- name: build and push the image
|
- name: build and push the image
|
||||||
|
if: startsWith(github.ref, 'refs/heads/main')
|
||||||
run: |
|
run: |
|
||||||
docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
|
docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
|
||||||
docker buildx ls
|
docker buildx ls
|
||||||
|
|
Loading…
Reference in New Issue