skip docker push for PRs
This commit is contained in:
parent
c5f061c7d5
commit
02005b6fee
1 changed files with 2 additions and 2 deletions
4
.github/workflows/docker.yml
vendored
4
.github/workflows/docker.yml
vendored
|
|
@ -71,8 +71,8 @@ jobs:
|
||||||
if: ${{ env.IMAGE_TAG != '' }}
|
if: ${{ env.IMAGE_TAG != '' }}
|
||||||
with:
|
with:
|
||||||
context: .
|
context: .
|
||||||
# push: ${{ github.event_name != 'pull_request' }}
|
push: ${{ github.event_name != 'pull_request' }}
|
||||||
push: ${{ secrets.DOCKERHUB_USERNAME != '' }} # here we can access secrets
|
# push: ${{ secrets.DOCKERHUB_USERNAME != '' }} # here we can access secrets
|
||||||
# TODO speed up by building in parallel? https://docs.docker.com/build/ci/github-actions/multi-platform/#distribute-build-across-multiple-runners
|
# TODO speed up by building in parallel? https://docs.docker.com/build/ci/github-actions/multi-platform/#distribute-build-across-multiple-runners
|
||||||
platforms: linux/amd64,linux/arm64
|
platforms: linux/amd64,linux/arm64
|
||||||
build-args: |
|
build-args: |
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue