Actualiser action.yaml

This commit is contained in:
2025-04-14 16:02:21 +02:00
parent 279b5537e2
commit 3265bd33db

View File

@@ -1,5 +1,5 @@
name: 'Ping a Healthchecks.io server' name: 'build-push-image'
description: 'Description de l action' description: 'Builds a container image, tags it, pushes to registry, and reports status to Healthchecks.io'
author: 'Eric Coissac' author: 'Eric Coissac'
inputs: inputs:
@@ -58,12 +58,12 @@ 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
shell: bash shell: bash
run: | run: |
source "${{ github.action_path }}/../bashlib.sh" source "${{ github.action_path }}/../bashlib.sh"
export DEBUG="ON" export DEBUG="ON"
echo "DEBUG=ON" >> $GITEA_ENV echo "DEBUG=ON" >> $GITHUB_ENV
debug Debug switch on debug Debug switch on
- name: Start the job - name: Start the job
@@ -129,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
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