Inlined podman install

This commit is contained in:
joncrall
2022-06-27 16:24:00 -04:00
parent 12a3fa2d3e
commit 46678e24e3
2 changed files with 6 additions and 13 deletions
-12
View File
@@ -1,12 +0,0 @@
#!/bin/bash
__doc__="
Based on code in: https://github.com/redhat-actions/podman-login/blob/main/.github/install_latest_podman.sh
"
# https://podman.io/getting-started/installation
# shellcheck source=/dev/null
. /etc/os-release
echo "deb https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/xUbuntu_${VERSION_ID}/ /" | sudo tee /etc/apt/sources.list.d/devel:kubic:libcontainers:stable.list
curl -sSfL "https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/xUbuntu_${VERSION_ID}/Release.key" | sudo apt-key add -
sudo apt-get update
sudo apt-get -y upgrade
sudo apt-get -y install podman
+6 -1
View File
@@ -50,7 +50,12 @@ jobs:
- name: Install latest podman
if: runner.os == 'Linux'
run: |
bash .github/install_latest_podman.sh
. /etc/os-release
echo "deb https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/xUbuntu_${VERSION_ID}/ /" | sudo tee /etc/apt/sources.list.d/devel:kubic:libcontainers:stable.list
curl -sSfL "https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/xUbuntu_${VERSION_ID}/Release.key" | sudo apt-key add -
sudo apt-get update
sudo apt-get -y upgrade
sudo apt-get -y install podman
- name: Install dependencies
run: |