Fix podman install in ubuntu 20.04

This commit is contained in:
Micah Lee 2021-11-24 14:07:42 -08:00
parent 258c6dcb91
commit 9d5f8e55bd
No known key found for this signature in database
GPG key ID: 403C2657CD994F73

View file

@ -113,9 +113,7 @@ jobs:
name: Install podman on Ubuntu 20.04 name: Install podman on Ubuntu 20.04
command: | command: |
export DEBIAN_FRONTEND=noninteractive DEBCONF_NONINTERACTIVE_SEEN=true export DEBIAN_FRONTEND=noninteractive DEBCONF_NONINTERACTIVE_SEEN=true
sudo apt-get install -y curl wget gnupg2
source /etc/os-release source /etc/os-release
echo 'text' | sudo tee -a /path/to/file
sudo sh -c "echo 'deb http://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/xUbuntu_${VERSION_ID}/ /' > /etc/apt/sources.list.d/devel:kubic:libcontainers:stable.list" sudo sh -c "echo 'deb http://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/xUbuntu_${VERSION_ID}/ /' > /etc/apt/sources.list.d/devel:kubic:libcontainers:stable.list"
wget -nv https://download.opensuse.org/repositories/devel:kubic:libcontainers:stable/xUbuntu_${VERSION_ID}/Release.key -O- | sudo apt-key add - wget -nv https://download.opensuse.org/repositories/devel:kubic:libcontainers:stable/xUbuntu_${VERSION_ID}/Release.key -O- | sudo apt-key add -
sudo apt-get update -qq -y sudo apt-get update -qq -y