From 65cc5014fd5dc83a397bdc3737bee27bb996914c Mon Sep 17 00:00:00 2001 From: SoMuchForSubtlety Date: Wed, 31 May 2023 21:25:02 +0200 Subject: [PATCH] Simplify config The unqualified registries setting is no longer needed, see https://github.com/containers/podman/pull/12435 --- .github/workflows/ci-rootless-podman.yml | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci-rootless-podman.yml b/.github/workflows/ci-rootless-podman.yml index 87ae296aef5..4d270cbfbc7 100644 --- a/.github/workflows/ci-rootless-podman.yml +++ b/.github/workflows/ci-rootless-podman.yml @@ -2,7 +2,7 @@ name: CI-Podman-Rootless on: pull_request: {} - push: { branches: [ main ] } + push: { branches: [main] } permissions: contents: read @@ -18,12 +18,10 @@ jobs: - 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 + 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: |