File tree Expand file tree Collapse file tree 1 file changed +13
-5
lines changed Expand file tree Collapse file tree 1 file changed +13
-5
lines changed Original file line number Diff line number Diff line change @@ -48,14 +48,22 @@ jobs:
4848 - name : " Check out the codebase."
4949 uses : " actions/checkout@v4"
5050
51- - name : " Enable lingering required for podman and systemd in GH Actions."
52- run : | # Compare with https://github.com/eriksjolund/user-systemd-service-actions-workflow/blob/efe872924fd2dd35bb482544126ce751303e14c2/README.md
53- sudo loginctl enable-linger $UID
54- sleep 1
55-
5651 - name : " Prepare the job environment."
5752 uses : " ./.github/workflows/prepare-action"
5853
54+ - name : " Install modern podman"
55+ run : |
56+ sudo mkdir -p /etc/apt/keyrings
57+ curl -fsSL https://download.opensuse.org/repositories/devel:kubic:libcontainers:unstable/xUbuntu_$(lsb_release -rs)/Release.key \
58+ | gpg --dearmor \
59+ | sudo tee /etc/apt/keyrings/devel_kubic_libcontainers_unstable.gpg > /dev/null
60+ echo \
61+ "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/devel_kubic_libcontainers_unstable.gpg]\
62+ https://download.opensuse.org/repositories/devel:kubic:libcontainers:unstable/xUbuntu_$(lsb_release -rs)/ /" \
63+ | sudo tee /etc/apt/sources.list.d/devel:kubic:libcontainers:unstable.list > /dev/null
64+ sudo apt-get update -qq
65+ sudo apt-get -qq -y install podman
66+
5967 - name : " Run Molecule tests."
6068 run : " pipenv run molecule test"
6169 env :
You can’t perform that action at this time.
0 commit comments