forked from mystiq/dex
Merge pull request #1815 from dexidp/fix-docker-login
ci: do not login to docker registry in PRs
This commit is contained in:
commit
3e5ff2f853
1 changed files with 1 additions and 0 deletions
1
.github/workflows/ci.yml
vendored
1
.github/workflows/ci.yml
vendored
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue