Actualiser action.yaml

This commit is contained in:
2025-12-26 15:15:41 +01:00
parent 75ba0567d5
commit 26b3780eb5

View File

@@ -105,27 +105,19 @@ runs:
version_file: ${{ inputs.version_file }}
debug: ${{ inputs.debug }}
- name: install podman
if: inputs.build_command == 'podman' || inputs.tag_command == 'podman' || inputs.push_command == 'podman'
shell: bash
run: |
source "${{ github.action_path }}/../bashlib.sh"
step "Install software" "podman"
- name: Install container tool (push)
if: inputs.push_command == 'skopeo' || inputs.push_command == 'podman'
uses: https://gargoton.petite-maison-orange.fr/pmo-actions/install-container-tools@main
with:
tools: ${{ inputs.push_command }}
debug: ${{ inputs.debug }}
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
- name: Install container tool (tag)
if: inputs.tag_command == 'skopeo' || inputs.tag_command == 'podman'
uses: https://gargoton.petite-maison-orange.fr/pmo-actions/install-container-tools@main
with:
tools: ${{ inputs.tag_command }}
debug: ${{ inputs.debug }}
- name: Build image starting
if: env.HEALTHCHECK_ENABLED == 'true'