Skip to content

Commit afcc89e

Browse files
committed
Add login condition check
1 parent db1848d commit afcc89e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/docker-build-push.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ jobs:
7171
uses: docker/setup-buildx-action@v3
7272
- name: Docker Hub login
7373
uses: docker/login-action@releases/v1
74+
if: ${{ inputs.push }}
7475
with:
7576
username: ${{ inputs.docker_username }}
7677
password: ${{ secrets.docker_password }}

0 commit comments

Comments
 (0)