File tree Expand file tree Collapse file tree 1 file changed +9
-10
lines changed Expand file tree Collapse file tree 1 file changed +9
-10
lines changed Original file line number Diff line number Diff line change @@ -69,21 +69,20 @@ jobs:
6969 with :
7070 repository : voxpupuli/puppet-example
7171
72- - name : Test container
72+ - name : Configure podman
7373 run : |
7474 systemctl start --user podman.socket
7575 echo "DOCKER_HOST=unix:///run/user/$(id -u)/podman/podman.sock" >> "$GITHUB_ENV"
7676 docker save ci/voxbox:${{ matrix.rubygem_puppet }} | podman load
7777
78- echo "### show current dir #######################################"
79- ls -la .
80- echo "### find all non-owned files ###############################"
81- find . ! -user $USER
82- echo "### show files in container ################################"
83- podman run --userns=keep-id --rm -v $PWD:/repo:Z --entrypoint ash ci/voxbox:${{ matrix.rubygem_puppet }} -c "ls -la"
84- echo "### show user id ###########################################"
85- id runner
86- echo "############################################################"
78+ mkdir -p ~/.config/containers
79+ cat > ~/.config/containers/containers.conf <<'EOF'
80+ [engine]
81+ userns = "keep-id"
82+ EOF
83+
84+ - name : Test container
85+ run : |
8786 # podman run --rm -v $PWD:/repo:Z ci/voxbox:${{ matrix.rubygem_puppet }} -f /Rakefile -T
8887 # podman run --rm -v $PWD:/repo:Z ci/voxbox:${{ matrix.rubygem_puppet }} -f /Rakefile lint
8988 # podman run --rm -v $PWD:/repo:Z ci/voxbox:${{ matrix.rubygem_puppet }} -f /Rakefile metadata_lint
You can’t perform that action at this time.
0 commit comments