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 }} version_file: ${{ inputs.version_file }}
debug: ${{ inputs.debug }} debug: ${{ inputs.debug }}
- name: install podman - name: Install container tool (push)
if: inputs.build_command == 'podman' || inputs.tag_command == 'podman' || inputs.push_command == 'podman' if: inputs.push_command == 'skopeo' || inputs.push_command == 'podman'
shell: bash uses: https://gargoton.petite-maison-orange.fr/pmo-actions/install-container-tools@main
run: | with:
source "${{ github.action_path }}/../bashlib.sh" tools: ${{ inputs.push_command }}
step "Install software" "podman" debug: ${{ inputs.debug }}
if command -v podman >/dev/null 2>&1; then - name: Install container tool (tag)
success "Already installed" "Podman found" if: inputs.tag_command == 'skopeo' || inputs.tag_command == 'podman'
exit 0 uses: https://gargoton.petite-maison-orange.fr/pmo-actions/install-container-tools@main
fi with:
tools: ${{ inputs.tag_command }}
check_command apt-get debug: ${{ inputs.debug }}
apt-get update
if apt-get -y install podman ; then
success "Success" "Podman installed"
else
error "Install failed" "Could not install Podman"
fi
- name: Build image starting - name: Build image starting
if: env.HEALTHCHECK_ENABLED == 'true' if: env.HEALTHCHECK_ENABLED == 'true'