Skip to content

Commit

Permalink
Update sync images command
Browse files Browse the repository at this point in the history
  • Loading branch information
pixiake authored Oct 30, 2024
1 parent 0067d39 commit ce20a92
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hack/sync-components.sh
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,8 @@ if [ $KUBERNETES_VERSION ]; then
done

chmod +x binaries/kube/$KUBERNETES_VERSION/amd64/kubeadm
binaries/kube/$KUBERNETES_VERSION/amd64/kubeadm config images list --kubernetes-version $KUBERNETES_VERSION | xargs -I {} oras cp {} docker.io/$DOCKERHUB_NAMESPACE/$(basename "{}")
binaries/kube/$KUBERNETES_VERSION/amd64/kubeadm config images list --kubernetes-version $KUBERNETES_VERSION | xargs -I {} oras cp {} registry.cn-beijing.aliyuncs.com/$ALIYUNCS_NAMESPACE/$(basename "{}")
binaries/kube/$KUBERNETES_VERSION/amd64/kubeadm config images list --kubernetes-version $KUBERNETES_VERSION | xargs -I {} bash -c "oras cp {} docker.io/$DOCKERHUB_NAMESPACE/$(basename \"{}\")"
binaries/kube/$KUBERNETES_VERSION/amd64/kubeadm config images list --kubernetes-version $KUBERNETES_VERSION | xargs -I {} bash -c "oras cp {} registry.cn-beijing.aliyuncs.com/$ALIYUNCS_NAMESPACE/$(basename \"{}\")"

rm -rf binaries
fi
Expand Down

0 comments on commit ce20a92

Please sign in to comment.