ceph-csi/container-registry.conf
Niels de Vos 5ae8fb7c9b ci: add configuration for the proxy/mirror registry
This makes it possible to pull images from Docker Hub through the local
container image registry in the CI OpenShift deployment. The registry in
the CI is configured with the 'cephcsibot' account so that pulling
images is accounted towards the account, and not anonymous consumers
within the whole CentOS CI.

There should be no need to manually sync the images between the local
registry and Docker Hub anymore.

Signed-off-by: Niels de Vos <ndevos@redhat.com>
2020-11-24 05:09:38 +00:00

18 lines
496 B
Plaintext

# /etc/containers/registries.conf
#
# This file contains the registry that is hosted in the CentOS CI OpenShift
# deployment for Ceph-CSI.
#
# By overwriting /etc/containers/registries.conf, short-names for
# container-images can NOT be used anymore.
#
# The CI jobs do a "podman login" for the local registry. Only after that, the
# local mirror is accessible.
#
[[registry]]
prefix = "docker.io"
location = "docker.io"
[[registry.mirror]]
location = "registry-ceph-csi.apps.ocp.ci.centos.org"