Skip to content

Commit

Permalink
fix(apps/prod/tekton/configs/tasks): use the mirror registry to downl…
Browse files Browse the repository at this point in the history
…oad oci files (#1191)

Signed-off-by: wuhuizuo <[email protected]>

Signed-off-by: wuhuizuo <[email protected]>
  • Loading branch information
wuhuizuo authored Jul 31, 2024
1 parent a5dd307 commit 85119e8
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,9 @@ spec:
fi
# download the artifact
oras pull --concurrency 1 $(params.artifact-url)
artifact_url="$(params.artifact-url)"
# replace hub.pingcap.net to hub-mig.pingcap.net in for traffic sharing.
oras pull "${artifact_url/hub.pingcap.net/hub-mig.pingcap.net}"
echo "✅ Done, the generated script content:"
cat publish.sh
Expand Down

0 comments on commit 85119e8

Please sign in to comment.