Merge pull request #1815 from dexidp/fix-docker-login

ci: do not login to docker registry in PRs
This commit is contained in:
Márk Sági-Kazár 2020-10-04 15:18:44 +02:00 committed by GitHub
commit 3e5ff2f853
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -122,6 +122,7 @@ jobs:
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
if: github.event_name == 'push'
- name: Build and Push
uses: docker/build-push-action@v2