skopeo-1.3.0-6.el9

- set short-names-mode = "enforcing" in registries.conf
- Resolves: #1971752

Signed-off-by: Jindrich Novy <jnovy@redhat.com>
This commit is contained in:
Jindrich Novy 2021-06-15 08:21:33 +02:00
parent e1ecba0502
commit 17f06290a9
4 changed files with 7 additions and 3 deletions

View File

@ -498,4 +498,3 @@ runtime = "crun"
# TOML does not provide a way to end a table other than a further table being # TOML does not provide a way to end a table other than a further table being
# defined, so every key hereafter will be part of [volume_plugins] and not the # defined, so every key hereafter will be part of [volume_plugins] and not the
# main config. # main config.
short-names-mode = "enforcing"

View File

@ -111,3 +111,4 @@ unqualified-search-registries = ["registry.fedoraproject.org", "registry.access.
# # 2. example-mirror-1.local/mirrors/foo/image:latest # # 2. example-mirror-1.local/mirrors/foo/image:latest
# # 3. internal-registry-for-example.net/bar/myimage:latest # # 3. internal-registry-for-example.net/bar/myimage:latest
# # in order, and use the first one that exists. # # in order, and use the first one that exists.
short-names-mode = "enforcing"

View File

@ -30,7 +30,7 @@ go build -buildmode pie -compiler gc -tags="rpm_crashtraceback libtrust_openssl
Epoch: 1 Epoch: 1
Name: skopeo Name: skopeo
Version: 1.3.0 Version: 1.3.0
Release: 5%{?dist} Release: 6%{?dist}
Summary: Inspect container images and repositories on registries Summary: Inspect container images and repositories on registries
License: ASL 2.0 License: ASL 2.0
URL: %{git0} URL: %{git0}
@ -241,6 +241,10 @@ export GOPATH=%{buildroot}/%{gopath}:$(pwd)/vendor:%{gopath}
%{_datadir}/%{name}/test %{_datadir}/%{name}/test
%changelog %changelog
* Tue Jun 15 2021 Jindrich Novy <jnovy@redhat.com> - 1:1.3.0-6
- set short-names-mode = "enforcing" in registries.conf
- Resolves: #1971752
* Mon Jun 14 2021 Jindrich Novy <jnovy@redhat.com> - 1:1.3.0-5 * Mon Jun 14 2021 Jindrich Novy <jnovy@redhat.com> - 1:1.3.0-5
- configure for RHEL9 - configure for RHEL9
- Related: #1970747 - Related: #1970747

View File

@ -24,10 +24,10 @@ spectool -f -g skopeo.spec
ensure storage.conf driver \"overlay\" ensure storage.conf driver \"overlay\"
ensure storage.conf mountopt \"nodev,metacopy=on\" ensure storage.conf mountopt \"nodev,metacopy=on\"
ensure registries.conf unqualified-search-registries [\"registry.fedoraproject.org\",\ \"registry.access.redhat.com\",\ \"registry.centos.org\",\ \"quay.io\",\ \"docker.io\"] ensure registries.conf unqualified-search-registries [\"registry.fedoraproject.org\",\ \"registry.access.redhat.com\",\ \"registry.centos.org\",\ \"quay.io\",\ \"docker.io\"]
ensure registries.conf short-names-mode \"enforcing\"
ensure containers.conf events_logger \"file\" ensure containers.conf events_logger \"file\"
ensure containers.conf infra_image \"registry.access.redhat.com/ubi9/pause\" ensure containers.conf infra_image \"registry.access.redhat.com/ubi9/pause\"
ensure containers.conf runtime \"crun\" ensure containers.conf runtime \"crun\"
ensure containers.conf short-names-mode \"enforcing\"
[ `grep "keyctl" seccomp.json | wc -l` == 0 ] && sed -i '/\"kill\",/i \ [ `grep "keyctl" seccomp.json | wc -l` == 0 ] && sed -i '/\"kill\",/i \
"keyctl",' seccomp.json "keyctl",' seccomp.json
sed -i '/\"socketcall\",/i \ sed -i '/\"socketcall\",/i \