Actualiser action.yaml

This commit is contained in:
2025-12-26 12:58:53 +01:00
parent d6c5df2a3e
commit c2bcfd3b70

View File

@@ -68,7 +68,52 @@ runs:
registry_password: ${{ inputs.registry_password }}
debug: ${{ inputs.debug }}
- name: Push the images to the serveur
- name: install skopeo
if: inputs.push_command == 'skopeo'
shell: bash
run: |
source "${{ github.action_path }}/../bashlib.sh"
step "Install software" "skopeo"
if command -v skopeo >/dev/null 2>&1; then
success "Already installed" "Skopeo found"
exit 0
fi
check_command apt-get
apt-get update
if apt-get -y install skopeo ; then
success "Success" "Skopeo installed"
else
error "Install failed" "Could not install Skopeo"
fi
- name: install podman
if: inputs.push_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
- name: Push the images to the serveur
shell: bash
run: |
source "${{ github.action_path }}/../bashlib.sh"