docker: dont login when in PR (#5961)

This commit is contained in:
Marko
2021-01-25 10:43:54 +00:00
committed by GitHub
parent df22e7354c
commit b958ba3440
+1
View File
@@ -41,6 +41,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.DOCKERHUB_USERNAME }}