Packer.Images/ansible/roles/firstboot/files/ansible_payload/templates/registries.j2
djpbessems 0534b031fa
All checks were successful
continuous-integration/drone/push Build is passing
Handle duplicate images;Add registry endpoint
2022-08-22 14:54:54 +02:00

26 lines
629 B
Django/Jinja

mirrors:
cr.step.cm:
endpoint:
- https://registry.{{ vapp['metacluster.fqdn'] }}
rewrite:
"(.*)": "library/cr.step.sm/$1"
docker.io:
endpoint:
- https://registry.{{ vapp['metacluster.fqdn'] }}
rewrite:
"(.*)": "library/docker.io/$1"
ghcr.io:
endpoint:
- https://registry.{{ vapp['metacluster.fqdn'] }}
rewrite:
"(.*)": "library/ghcr.io/$1"
quay.io:
endpoint:
- https://registry.{{ vapp['metacluster.fqdn'] }}
rewrite:
"(.*)": "library/quay.io/$1"
configs:
registry.{{ vapp['metacluster.fqdn'] }}:
tls:
insecure_skip_verify: true