Actualiser action.yaml

This commit is contained in:
2025-04-14 16:16:03 +02:00
parent f7f497e654
commit d97a5bddf8

View File

@@ -84,3 +84,25 @@ runs:
version_file: ${{ inputs.version_file }} version_file: ${{ inputs.version_file }}
debug: ${{ inputs.debug }} debug: ${{ inputs.debug }}
- name: install podman
if: inputs.build_command == 'podman' || inputs.tag_command == 'podman'
shell: bash
run: |
source "${{ github.action_path }}/../bashlib.sh"
step "Install software" "podman"
if command -v podman >/dev/null 2>&1; then
success "Already installed" "Podman found"
exit 0
fi
check_command apt-get
apt-get update
if apt-get -y install podman ; then
success "Success" "Podman installed"
else
error "Install failed" "Could not install Podman"
fi