Skip to content

Commit c73a976

Browse files
committed
ci: allow testing workflow dispatch without pushing images
1 parent 36f85c6 commit c73a976

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/main.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343

4444
- uses: docker/build-push-action@15560696de535e4014efeff63c48f16952e52dd1 # v6.2.0
4545
with:
46-
push: true
46+
push: ${{ github.event_name == 'push' }}
4747
platforms: ${{ matrix.image[2] }}
4848
tags: ghcr.io/emqx/${{ matrix.image[0] }}:${{ matrix.image[1] }}
4949
file: ${{ matrix.image[0] }}/Dockerfile

0 commit comments

Comments
 (0)