File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -16,11 +16,15 @@ jobs:
1616 run : sudo apt-get -q -y --purge remove podman moby-engine moby-buildx && sudo rm -rf /var/run/docker.sock
1717 - name : Set XDG_RUNTIME_DIR
1818 run : echo "XDG_RUNTIME_DIR=/run/user/$UID" >> $GITHUB_ENV
19- - name : Create registries.conf
20- # allow pulling images without a registry specified
19+ - name : Configure podman
2120 run : |
2221 mkdir -p $HOME/.config/containers
2322 echo 'unqualified-search-registries = ["docker.io"]' > $HOME/.config/containers/registries.conf
23+ echo '' >> $HOME/.config/containers/registries.conf
24+ echo '[[registry]]' >> $HOME/.config/containers/registries.conf
25+ echo 'prefix = "localhost"' >> $HOME/.config/containers/registries.conf
26+ echo 'location = "localhost"' >> $HOME/.config/containers/registries.conf
27+ echo 'insecure = true' >> $HOME/.config/containers/registries.conf
2428 - name : Install latest podman release
2529 # see https://podman.io/getting-started/installation#ubuntu
2630 run : |
You can’t perform that action at this time.
0 commit comments