Skip to content

Commit d591c6f

Browse files
Merge pull request #7733 from onflow/sre/jp/fix-dockerhub-secrets
Update Docker Login to conditionally run on internal PRs
2 parents 1f507a3 + dc923d4 commit d591c6f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -324,6 +324,8 @@ jobs:
324324
with:
325325
username: ${{ vars.DOCKERHUB_USERNAME }}
326326
password: ${{ secrets.DOCKERHUB_TOKEN }}
327+
if: ${{ (github.event_name == 'merge_group' || (github.event.pull_request && (github.event.pull_request.author_association == 'MEMBER' || github.event.pull_request.author_association == 'COLLABORATOR'))) }}
328+
327329

328330
- name: Docker build
329331
env:

0 commit comments

Comments
 (0)