generated from pmo-actions/healthchecks-ping
Actualiser action.yaml
This commit is contained in:
10
action.yaml
10
action.yaml
@@ -1,5 +1,5 @@
|
||||
name: 'Ping a Healthchecks.io server'
|
||||
description: 'Description de l action'
|
||||
name: 'build-push-image'
|
||||
description: 'Builds a container image, tags it, pushes to registry, and reports status to Healthchecks.io'
|
||||
author: 'Eric Coissac'
|
||||
|
||||
inputs:
|
||||
@@ -58,12 +58,12 @@ runs:
|
||||
uses: https://gargoton.petite-maison-orange.fr/pmo-actions/bash-library@main
|
||||
|
||||
- name: Set debug mode
|
||||
if: inputs.debug == true
|
||||
if: inputs.debug
|
||||
shell: bash
|
||||
run: |
|
||||
source "${{ github.action_path }}/../bashlib.sh"
|
||||
export DEBUG="ON"
|
||||
echo "DEBUG=ON" >> $GITEA_ENV
|
||||
echo "DEBUG=ON" >> $GITHUB_ENV
|
||||
debug Debug switch on
|
||||
|
||||
- name: Start the job
|
||||
@@ -129,7 +129,7 @@ runs:
|
||||
echo "IMAGE_TAGS=${{ inputs.image_tags }}" >> $GITHUB_ENV
|
||||
|
||||
- name: Add PMO version tag
|
||||
if: inputs.add_version_tag == true
|
||||
if: inputs.add_version_tag
|
||||
run: |
|
||||
echo "IMAGE_TAGS=${{ env.IMAGE_TAGS }} pmo-${{ steps.get_version.outputs.version }}" >> $GITHUB_ENV
|
||||
|
||||
|
||||
Reference in New Issue
Block a user