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 (#1190)

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

Signed-off-by: wuhuizuo <[email protected]>
  • Loading branch information
wuhuizuo authored Jul 31, 2024
1 parent 7e65072 commit a5dd307
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ spec:
$(params.registry)
if [ -f "$out_script" ]; then
sed -i 's/fetch_file_from_oci_artifact hub.pingcap.net/fetch_file_from_oci_artifact hub-mig.pingcap.net/g' "$out_script"
cat "$out_script"
else
echo "🤷 no output script generated!"
Expand Down
1 change: 1 addition & 0 deletions apps/prod/tekton/configs/tasks/pingcap-build-binaries.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ spec:
$(params.registry)
if [ -f "$out_script" ]; then
sed -i 's/fetch_file_from_oci_artifact hub.pingcap.net/fetch_file_from_oci_artifact hub-mig.pingcap.net/g' "$out_script"
cat "$out_script"
else
echo "🤷 no output script generated!"
Expand Down

0 comments on commit a5dd307

Please sign in to comment.