Merge pull request #43511 from MorriganR/patch-2

Push image to DockerHub only if rep_owner == qgis
This commit is contained in:
MorriganR 2021-06-02 16:19:50 +03:00 committed by GitHub
parent 2029b9b103
commit 5035b21b54
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -88,7 +88,7 @@ jobs:
popd
- name: Push deps image
if: ${{ github.event_name != 'pull_request' }}
if: ${{ github.repository_owner == 'qgis' && github.event_name != 'pull_request' }}
run: |
docker login -u="${DOCKER_USERNAME}" -p="${DOCKER_PASSWORD}"
docker push "qgis/qgis3-build-deps:${DOCKER_TAG}"