Skip to content

Commit 61899a6

Browse files
alicefrjlebon
authored andcommitted
Write v2 registries.conf in CI setup
On the CI the registries.conf in v1 format. Since we update the go binding for podman, podman bindings reject v1 for any image operation, causing EnsureImage calls to fail. Assisted-by: AI Signed-off-by: Alice Frosi <afrosi@redhat.com>
1 parent f0527a4 commit 61899a6

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.github/actions/setup-bink/action.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ runs:
5656
printf '[containers]\napparmor_profile = "unconfined"\nseccomp_profile = "/etc/containers/seccomp.json"\n' | sudo tee /etc/containers/containers.conf
5757
grep -q '^root:' /etc/subuid || echo 'root:100000:65536' | sudo tee -a /etc/subuid
5858
grep -q '^root:' /etc/subgid || echo 'root:100000:65536' | sudo tee -a /etc/subgid
59+
printf 'unqualified-search-registries = ["docker.io"]\n' | sudo tee /etc/containers/registries.conf
5960
sudo systemctl start podman.socket
6061
sudo podman info --format '{{.Store.GraphRoot}}'
6162

0 commit comments

Comments
 (0)