Registries
Container registry credentials can be added in the repository settings.
This allows to authenticate against the respective registry and pull private images while also avoiding rate-limiting.
Registry hostnames are matched to each image in the YAML config. If the hostname matches, the stored registry credentials are used to authenticate and pull the image. The registry address is therefore the hostname only, optionally with a port, without a scheme or a path such as a namespace.
Examples:
- Image
quay.io/foo/barhas hostnamequay.io - Image
foo/barhas hostnamedocker.io - Image
qux.com:8000/foo/barhas hostnamequx.com:8000
Hostname matching logic:
- Hostname
quay.iomatchesimage: quay.io/foo/bar - Hostname
docker.iomatchesimage: golang - Hostname
docker.iomatchesimage: library/golang - Hostname
docker.iomatchesimage: bradrydzewski/golang - Hostname
docker.iomatchesimage: bradrydzewski/golang:latest