fix(ci): never try to push on test pull request

This commit is contained in:
Alexander 2021-08-29 11:57:08 +09:00
parent 1587ce779d
commit 16f0cdc1bf

View file

@ -47,7 +47,7 @@ jobs:
uses: docker/build-push-action@v2 uses: docker/build-push-action@v2
with: with:
context: ./docker context: ./docker
push: ${{ github.event_name != 'pull_request' }} push: false
file: ./docker/Dockerfile file: ./docker/Dockerfile
platforms: ${{ matrix.platform }}/${{ matrix.arch }} platforms: ${{ matrix.platform }}/${{ matrix.arch }}
tags: ${{ steps.docker_meta.outputs.tags }} tags: ${{ steps.docker_meta.outputs.tags }}