Skip to content

Commit

Permalink
Simplify config
Browse files Browse the repository at this point in the history
The unqualified registries setting is no longer needed, see containers/podman#12435
  • Loading branch information
SoMuchForSubtlety committed Jun 1, 2023
1 parent 12bf79a commit 80ad983
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions .github/workflows/ci-rootless-podman.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: CI-Podman-Rootless

on:
pull_request: {}
push: { branches: [ main ] }
push: { branches: [main] }

permissions:
contents: read
Expand All @@ -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: |
Expand Down

0 comments on commit 80ad983

Please sign in to comment.