Change default search order on registries.conf.

Quay.io should be last to make sure no one is squating on repos that are
  provided by upstream packages.
This commit is contained in:
Daniel J Walsh 2019-11-08 09:07:12 -05:00
parent 716856c370
commit 797c982a8a
No known key found for this signature in database
GPG Key ID: A2DF901DABE2C028
2 changed files with 7 additions and 2 deletions

View File

@ -9,7 +9,7 @@
# Registries to search for images that are not fully-qualified.
# i.e. foobar.com/my_image:latest vs my_image:latest
[registries.search]
registries = ['docker.io', 'registry.fedoraproject.org', 'quay.io', 'registry.access.redhat.com', 'registry.centos.org']
registries = ['docker.io', 'registry.fedoraproject.org', 'registry.access.redhat.com', 'registry.centos.org', 'quay.io']
# Registries that do not use TLS when pulling images or uses self-signed
# certificates.

View File

@ -42,7 +42,7 @@ Epoch: 1
Epoch: 0
%endif
Version: 0.1.41
Release: 0.9.dev.git%{shortcommit0}%{?dist}
Release: 1.dev.git%{shortcommit0}%{?dist}
Summary: Inspect container images and repositories on registries
License: ASL 2.0
URL: %{git0}
@ -430,6 +430,11 @@ export GOPATH=%{buildroot}/%{gopath}:$(pwd)/vendor:%{gopath}
%{_datadir}/%{name}/test
%changelog
* Fri Nov 8 2019 Dan Walsh (Bot) <dwalsh+bot@fedoraproject.org> - - 1:0.1.41-1.dev.git24f4f82
- Change default search order on registries.conf.
- Quay.io should be last to make sure no one is squating on repos that are
provided by upstream packages.
* Sat Nov 02 2019 RH Container Bot <rhcontainerbot@fedoraproject.org> - 1:0.1.41-0.9.dev.git24f4f82
- autobuilt 24f4f82