mirror of
https://github.com/Hopiu/lychee.git
synced 2026-05-15 17:23:10 +00:00
Only login to Dockerhub on image push (#515)
This commit is contained in:
parent
812663d832
commit
d821168f24
1 changed files with 1 additions and 1 deletions
2
.github/workflows/docker.yml
vendored
2
.github/workflows/docker.yml
vendored
|
|
@ -52,7 +52,7 @@ jobs:
|
|||
uses: docker/setup-buildx-action@v1
|
||||
|
||||
- name: Login to DockerHub
|
||||
if: ${{ github.repository_owner == 'lycheeverse' }}
|
||||
if: ${{ github.repository_owner == 'lycheeverse' && github.event_name != 'pull_request' }}
|
||||
uses: docker/login-action@v1
|
||||
with:
|
||||
username: ${{ secrets.DOCKER_USERNAME }}
|
||||
|
|
|
|||
Loading…
Reference in a new issue