Skip to content

Commit

Permalink
project: do not log into Docker in check runs started in forks
Browse files Browse the repository at this point in the history
  • Loading branch information
ibodrov committed Feb 8, 2025
1 parent bf4abd6 commit d41f8aa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ jobs:

- name: Login to DockerHub
uses: docker/login-action@v3
if: github.repository_owner == 'walmartlabs'
with:
username: ${{ secrets.OSS_DOCKERHUB_USERNAME }}
password: ${{ secrets.OSS_DOCKERHUB_PASSWORD }}
Expand Down

0 comments on commit d41f8aa

Please sign in to comment.