Skip to content

Commit 92d33c1

Browse files
authored
only log in to docker hub if push is true (#19)
1 parent aec9054 commit 92d33c1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/docker-publish.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ jobs:
6464
6565
- # https://github.com/docker/login-action
6666
name: Log in to Docker Hub
67+
if: inputs.push == 'true'
6768
uses: docker/login-action@v3
6869
with:
6970
username: ${{ vars.DOCKER_HUB_USERNAME }}

0 commit comments

Comments
 (0)