From 91d9dc0e61122e8afda8f5b45471505b700c5f88 Mon Sep 17 00:00:00 2001 From: SoMuchForSubtlety Date: Mon, 12 Dec 2022 17:22:30 +0100 Subject: [PATCH] allow insecure connections to localhost see https://github.com/containers/podman/issues/16486#issuecomment-1344132137 --- .github/workflows/ci-rootless-podman.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci-rootless-podman.yml b/.github/workflows/ci-rootless-podman.yml index 8966897f856..38c66784343 100644 --- a/.github/workflows/ci-rootless-podman.yml +++ b/.github/workflows/ci-rootless-podman.yml @@ -16,11 +16,15 @@ jobs: run: sudo apt-get -q -y --purge remove podman moby-engine moby-buildx && sudo rm -rf /var/run/docker.sock - name: Set XDG_RUNTIME_DIR run: echo "XDG_RUNTIME_DIR=/run/user/$UID" >> $GITHUB_ENV - - name: Create registries.conf - # allow pulling images without a registry specified + - name: Configure podman run: | mkdir -p $HOME/.config/containers echo 'unqualified-search-registries = ["docker.io"]' > $HOME/.config/containers/registries.conf + echo '' >> $HOME/.config/containers/registries.conf + echo '[[registry]]' >> $HOME/.config/containers/registries.conf + echo 'prefix = "localhost"' >> $HOME/.config/containers/registries.conf + echo 'location = "localhost"' >> $HOME/.config/containers/registries.conf + echo 'insecure = true' >> $HOME/.config/containers/registries.conf - name: Install latest podman release # see https://podman.io/getting-started/installation#ubuntu run: |