avoid login when in PR (#8449)

This commit is contained in:
Marko
2021-01-27 10:08:18 +00:00
committed by GitHub
parent 09b8f7783a
commit ce11c9043e
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -42,6 +42,7 @@ jobs:
uses: docker/setup-buildx-action@v1
- name: Login to DockerHub
if: ${{ github.event_name != 'pull_request' }}
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKER_USERNAME }}
+1
View File
@@ -31,6 +31,7 @@ jobs:
uses: docker/setup-buildx-action@v1
- name: Login to DockerHub
if: ${{ github.event_name != 'pull_request' }}
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKERHUBTM_USERNAME }}