ci: don't login on a pr (#1554)
* ci: don't login on a pr Co-authored-by: toast-gear <[email protected]>
This commit is contained in:
co-authored by
toast-gear
parent
667764e027
commit
23f091d7fa
@@ -61,7 +61,7 @@ jobs:
|
||||
context: ./runner
|
||||
file: ./runner/${{ matrix.name }}.dockerfile
|
||||
platforms: linux/amd64,linux/arm64
|
||||
push: ${{ github.ref == 'master' && github.event.pull_request.merged == true }}
|
||||
push: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
|
||||
build-args: |
|
||||
RUNNER_VERSION=${{ env.RUNNER_VERSION }}
|
||||
DOCKER_VERSION=${{ env.DOCKER_VERSION }}
|
||||
|
||||
Reference in New Issue
Block a user