File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -26,13 +26,13 @@ jobs:
2626 # Set up QEMU for cross-platform builds below
2727 - name : Set up QEMU
2828 if : github.event_name == 'release'
29- id : qemu
3029 uses : docker/setup-qemu-action@v1
3130 with :
3231 image : tonistiigi/binfmt:latest
3332 platforms : all
3433
3534 - name : Setup Docker buildx
35+ if : github.event_name == 'release'
3636 uses : docker/setup-buildx-action@v2
3737
3838 # Extract metadata (tags, labels) for Docker
6060 # https://github.com/docker/build-push-action
6161 - name : Validate Docker image build
6262 if : github.event_name != 'release'
63- id : build-only
6463 uses : docker/build-push-action@v3
6564 with :
6665 context : .
7271 # https://github.com/docker/build-push-action
7372 - name : Build and publish Docker image
7473 if : github.event_name == 'release'
75- id : build-and-push
7674 uses : docker/build-push-action@v3
7775 with :
7876 context : .
You can’t perform that action at this time.
0 commit comments