add Images
This commit is contained in:
parent
5ac638a8a2
commit
333f771098
|
|
@ -36,5 +36,3 @@ spec:
|
||||||
value: "IfNotPresent"
|
value: "IfNotPresent"
|
||||||
- name: DRONE_RUNNER_IMAGE_PULL_SECRETS
|
- name: DRONE_RUNNER_IMAGE_PULL_SECRETS
|
||||||
value: ""
|
value: ""
|
||||||
- name: DRONE_RUNNER_IMAGE_PULL_MIRRORS
|
|
||||||
value: "docker.io/drone/git:latest=registry.t-aaron.com/drone/git:latest,docker.io/drone/placeholder:1=registry.t-aaron.com/drone/placeholder:1"
|
|
||||||
|
|
|
||||||
Binary file not shown.
|
|
@ -0,0 +1,12 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
# 1. 导入镜像到 containerd
|
||||||
|
sudo /usr/local/bin/k3s ctr images import drone-git.tar
|
||||||
|
sudo /usr/local/bin/k3s ctr images import drone-placeholder.tar
|
||||||
|
|
||||||
|
# 2. 重新标记为私有仓库地址
|
||||||
|
sudo /usr/local/bin/k3s ctr images tag drone/git:latest registry.t-aaron.com/drone/git:latest
|
||||||
|
sudo /usr/local/bin/k3s ctr images tag drone/placeholder:1 registry.t-aaron.com/drone/placeholder:1
|
||||||
|
|
||||||
Binary file not shown.
Loading…
Reference in New Issue