Skip to content

Commit f97ac54

Browse files
committed
Don't log in to docker from forks
1 parent c6e3c02 commit f97ac54

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ jobs:
3232

3333
- name: Login to Docker Hub
3434
uses: docker/login-action@v3.4.0
35+
if: ${{ github.secret_source == 'Actions' }}
3536
with:
3637
username: ${{ secrets.DOCKER_HUB_USERNAME }}
3738
password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}

0 commit comments

Comments
 (0)