We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a02d678 commit 04bc224Copy full SHA for 04bc224
.github/workflows/devcontainer.yml
@@ -44,10 +44,11 @@ jobs:
44
password: ${{ secrets.GITHUB_TOKEN }}
45
46
- name: Login to Aliyun Registry
47
+ # 只有在不是由 fork 的 PR 触发时才执行
48
+ if: github.event.pull_request.head.repo.full_name == github.repository
49
uses: docker/login-action@v3
50
with:
51
registry: dp-harbor-registry.us-east-1.cr.aliyuncs.com
- # AliCloud automatically mirrors to registry.dp.tech
52
username: ${{ secrets.DP_HARBOR_USERNAME }}
53
password: ${{ secrets.DP_HARBOR_PASSWORD }}
54
0 commit comments