Skip to content

Commit

Permalink
allow insecure connections to localhost
Browse files Browse the repository at this point in the history
  • Loading branch information
SoMuchForSubtlety committed Dec 13, 2022
1 parent a8dac48 commit ae32866
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/ci-rootless-podman.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down

0 comments on commit ae32866

Please sign in to comment.