Handle duplicate images;Add registry endpoint
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
c8509aa3d5
commit
0534b031fa
@ -1,4 +1,9 @@
|
|||||||
mirrors:
|
mirrors:
|
||||||
|
cr.step.cm:
|
||||||
|
endpoint:
|
||||||
|
- https://registry.{{ vapp['metacluster.fqdn'] }}
|
||||||
|
rewrite:
|
||||||
|
"(.*)": "library/cr.step.sm/$1"
|
||||||
docker.io:
|
docker.io:
|
||||||
endpoint:
|
endpoint:
|
||||||
- https://registry.{{ vapp['metacluster.fqdn'] }}
|
- https://registry.{{ vapp['metacluster.fqdn'] }}
|
||||||
@ -15,6 +20,6 @@ mirrors:
|
|||||||
rewrite:
|
rewrite:
|
||||||
"(.*)": "library/quay.io/$1"
|
"(.*)": "library/quay.io/$1"
|
||||||
configs:
|
configs:
|
||||||
"registry.{{ vapp['metacluster.fqdn'] }}":
|
registry.{{ vapp['metacluster.fqdn'] }}:
|
||||||
tls:
|
tls:
|
||||||
insecure_skip_verify: true
|
insecure_skip_verify: true
|
||||||
|
@ -54,7 +54,7 @@
|
|||||||
docker://{{ item }} \
|
docker://{{ item }} \
|
||||||
docker-archive:./{{ ( item | regex_findall('[^/:]+'))[-2] }}.tar:{{ item }}
|
docker-archive:./{{ ( item | regex_findall('[^/:]+'))[-2] }}.tar:{{ item }}
|
||||||
chdir: /opt/metacluster/container-images
|
chdir: /opt/metacluster/container-images
|
||||||
loop: "{{ (containerimages.results | map(attribute='stdout_lines') | flatten) + dependencies.container_images }}"
|
loop: "{{ ((containerimages.results | map(attribute='stdout_lines') | flatten) + dependencies.container_images) | unique }}"
|
||||||
|
|
||||||
# - name: Inject manifests
|
# - name: Inject manifests
|
||||||
# ansible.builtin.template:
|
# ansible.builtin.template:
|
||||||
|
Loading…
Reference in New Issue
Block a user