forked from mirrors/protonmail-bridge-docker
Do not login for pull requests
This commit is contained in:
1
.github/workflows/main.yaml
vendored
1
.github/workflows/main.yaml
vendored
@@ -40,6 +40,7 @@ jobs:
|
||||
uses: docker/setup-buildx-action@v1
|
||||
- name: Login to DockerHub
|
||||
uses: docker/login-action@v1
|
||||
if: ${{ github.event_name != 'pull_request' }}
|
||||
with:
|
||||
username: ${{ secrets.REGISTRY_USERNAME }}
|
||||
password: ${{ secrets.REGISTRY_PASSWORD }}
|
||||
|
||||
Reference in New Issue
Block a user