generated from pmo-actions/healthchecks-ping
Actualiser action.yaml
This commit is contained in:
10
action.yaml
10
action.yaml
@@ -22,13 +22,17 @@ inputs:
|
|||||||
required: false
|
required: false
|
||||||
default: docker
|
default: docker
|
||||||
no_cache:
|
no_cache:
|
||||||
description: 'Do we desactivate cache during image duilding'
|
description: 'Do we desactivate cache during image building'
|
||||||
required: false
|
required: false
|
||||||
default: false
|
default: false
|
||||||
tag_command:
|
tag_command:
|
||||||
description: 'Command used to tag the image (docker|podman)'
|
description: 'Command used to tag the image (docker|podman)'
|
||||||
required: false
|
required: false
|
||||||
default: podman
|
default: docker
|
||||||
|
push_command:
|
||||||
|
description: 'Command used to push the image (docker|podman|skopeo)'
|
||||||
|
required: false
|
||||||
|
default: skopeo
|
||||||
registry_server:
|
registry_server:
|
||||||
description: 'Address of the image registry server'
|
description: 'Address of the image registry server'
|
||||||
required: false
|
required: false
|
||||||
@@ -102,7 +106,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' || inputs.push_command == 'podman'
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
source "${{ github.action_path }}/../bashlib.sh"
|
source "${{ github.action_path }}/../bashlib.sh"
|
||||||
|
|||||||
Reference in New Issue
Block a user