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:
|
||||
cr.step.cm:
|
||||
endpoint:
|
||||
- https://registry.{{ vapp['metacluster.fqdn'] }}
|
||||
rewrite:
|
||||
"(.*)": "library/cr.step.sm/$1"
|
||||
docker.io:
|
||||
endpoint:
|
||||
- https://registry.{{ vapp['metacluster.fqdn'] }}
|
||||
@ -15,6 +20,6 @@ mirrors:
|
||||
rewrite:
|
||||
"(.*)": "library/quay.io/$1"
|
||||
configs:
|
||||
"registry.{{ vapp['metacluster.fqdn'] }}":
|
||||
registry.{{ vapp['metacluster.fqdn'] }}:
|
||||
tls:
|
||||
insecure_skip_verify: true
|
||||
|
@ -54,7 +54,7 @@
|
||||
docker://{{ item }} \
|
||||
docker-archive:./{{ ( item | regex_findall('[^/:]+'))[-2] }}.tar:{{ item }}
|
||||
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
|
||||
# ansible.builtin.template:
|
||||
|
Loading…
Reference in New Issue
Block a user