Skip to content

Commit 4bd4287

Browse files
Simplify config
The unqualified registries setting is no longer needed, see containers/podman#12435
1 parent c8af85e commit 4bd4287

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

.github/workflows/ci-rootless-podman.yml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: CI-Podman-Rootless
22

33
on:
44
pull_request: {}
5-
push: { branches: [ main ] }
5+
push: { branches: [main] }
66

77
permissions:
88
contents: read
@@ -18,12 +18,10 @@ jobs:
1818
- name: Configure podman
1919
run: |
2020
mkdir -p $HOME/.config/containers
21-
echo 'unqualified-search-registries = ["docker.io"]' > $HOME/.config/containers/registries.conf
22-
echo '' >> $HOME/.config/containers/registries.conf
23-
echo '[[registry]]' >> $HOME/.config/containers/registries.conf
24-
echo 'prefix = "localhost"' >> $HOME/.config/containers/registries.conf
25-
echo 'location = "localhost"' >> $HOME/.config/containers/registries.conf
26-
echo 'insecure = true' >> $HOME/.config/containers/registries.conf
21+
echo '[[registry]]' > $HOME/.config/containers/registries.conf
22+
echo 'prefix = "localhost"' >> $HOME/.config/containers/registries.conf
23+
echo 'location = "localhost"' >> $HOME/.config/containers/registries.conf
24+
echo 'insecure = true' >> $HOME/.config/containers/registries.conf
2725
- name: Install latest podman release
2826
# see https://podman.io/getting-started/installation#ubuntu
2927
run: |

0 commit comments

Comments
 (0)