Actualiser action.yaml

This commit is contained in:
2025-04-14 15:52:43 +02:00
parent ef7343ed27
commit 279b5537e2

View File

@@ -51,7 +51,6 @@ inputs:
default: false default: false
type: boolean type: boolean
runs: runs:
using: 'composite' using: 'composite'
steps: steps:
@@ -59,7 +58,7 @@ runs:
uses: https://gargoton.petite-maison-orange.fr/pmo-actions/bash-library@main uses: https://gargoton.petite-maison-orange.fr/pmo-actions/bash-library@main
- name: Set debug mode - name: Set debug mode
if: inputs.debug == 'true' if: inputs.debug == true
shell: bash shell: bash
run: | run: |
source "${{ github.action_path }}/../bashlib.sh" source "${{ github.action_path }}/../bashlib.sh"
@@ -86,7 +85,7 @@ runs:
debug: ${{ inputs.debug }} debug: ${{ inputs.debug }}
- name: install podman - name: install podman
if: inputs.build_command == 'podman' || inputs.tag_command == 'podman' if: inputs.build_command == 'podman' || inputs.tag_command == 'podman'
shell: bash shell: bash
run: | run: |
source "${{ github.action_path }}/../bashlib.sh" source "${{ github.action_path }}/../bashlib.sh"
@@ -130,7 +129,7 @@ runs:
echo "IMAGE_TAGS=${{ inputs.image_tags }}" >> $GITHUB_ENV echo "IMAGE_TAGS=${{ inputs.image_tags }}" >> $GITHUB_ENV
- name: Add PMO version tag - name: Add PMO version tag
if: inputs.add_version_tag == 'true' if: inputs.add_version_tag == true
run: | run: |
echo "IMAGE_TAGS=${{ env.IMAGE_TAGS }} pmo-${{ steps.get_version.outputs.version }}" >> $GITHUB_ENV echo "IMAGE_TAGS=${{ env.IMAGE_TAGS }} pmo-${{ steps.get_version.outputs.version }}" >> $GITHUB_ENV
@@ -204,5 +203,3 @@ runs:
check_uuid: ${{ inputs.check_uuid }} check_uuid: ${{ inputs.check_uuid }}
check_command: stop check_command: stop
check_message: 'Docker image for ${{ inputs.image_name }}: task done' check_message: 'Docker image for ${{ inputs.image_name }}: task done'