fix(ci): don't login to docker registry for PRs

This commit is contained in:
Łukasz Mierzwa
2021-07-23 20:06:27 +01:00
committed by Łukasz Mierzwa
parent 25bc3b530f
commit 2652d5d01f

View File

@@ -517,12 +517,14 @@ jobs:
uses: docker/setup-buildx-action@v1
- name: Login to DockerHub
if: github.event_name != 'pull_request'
uses: docker/login-action@v1
with:
username: lmierzwa
password: ${{ secrets.DOCKER_HUB_PASSWORD }}
- name: Login to GitHub Container Registry
if: github.event_name != 'pull_request'
uses: docker/login-action@v1
with:
registry: ghcr.io