generated from pmo-actions/healthchecks-ping
Actualiser action.yaml
This commit is contained in:
@@ -98,16 +98,9 @@ runs:
|
|||||||
|
|
||||||
check_command apt-get
|
check_command apt-get
|
||||||
|
|
||||||
. /etc/os-release
|
|
||||||
echo "deb https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/${ID}_${VERSION_CODENAME}/ /" \
|
|
||||||
| tee /etc/apt/sources.list.d/devel:kubic:libcontainers:stable.list
|
|
||||||
|
|
||||||
curl -fsSL https://download.opensuse.org/repositories/devel:kubic:libcontainers:stable/${ID}_${VERSION_CODENAME}/Release.key \
|
|
||||||
| gpg --dearmor -o /etc/apt/trusted.gpg.d/libcontainers.gpg
|
|
||||||
|
|
||||||
apt-get update
|
apt-get update
|
||||||
|
|
||||||
if apt-get -y install podman; then
|
if apt-get -y install podman ; then
|
||||||
success "Success" "Podman installed"
|
success "Success" "Podman installed"
|
||||||
else
|
else
|
||||||
error "Install failed" "Could not install Podman"
|
error "Install failed" "Could not install Podman"
|
||||||
|
|||||||
Reference in New Issue
Block a user