Only log in to DockerHub on push
event
This commit is contained in:
parent
66f1f9d05a
commit
124ff15d3d
1 changed files with 1 additions and 0 deletions
1
.github/workflows/ci.yml
vendored
1
.github/workflows/ci.yml
vendored
|
@ -25,6 +25,7 @@ jobs:
|
|||
uses: docker/setup-buildx-action@v1
|
||||
|
||||
- name: Login to DockerHub
|
||||
if: github.event_name == 'push'
|
||||
uses: docker/login-action@v1
|
||||
with:
|
||||
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||
|
|
Loading…
Add table
Reference in a new issue