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 Jul 29, 2023
1 parent 5b27edb commit ca94c0b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 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
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ subprojects {

if (System.properties['test.profile'] == 'podman') {
// The compose container relies on the deprecated link feature, which is not supported by podman
exclude '**/*DockerCompose*'
exclude '**/*Compose*'
filter {
// cgroups v2 don't support settings swappiness
excludeTestsMatching '*shouldReportOOMAfterWait'
Expand Down

0 comments on commit ca94c0b

Please sign in to comment.