Actualiser action.yaml

This commit is contained in:
2025-04-14 15:34:49 +02:00
parent 0bff3ef90b
commit ef7343ed27

View File

@@ -92,10 +92,26 @@ runs:
source "${{ github.action_path }}/../bashlib.sh" source "${{ github.action_path }}/../bashlib.sh"
step "Install software" "podman" step "Install software" "podman"
if apt-get update && apt-get install -y podman ; then if command -v podman >/dev/null 2>&1; then
success "Success" "Podman installation" success "Already installed" "Podman found"
exit 0
fi
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
if apt-get -y install podman; then
success "Success" "Podman installed"
else else
error "Podman installation" "Failed" error "Install failed" "Could not install Podman"
fi fi
- name: Build image starting - name: Build image starting