-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathaction.yml
38 lines (36 loc) · 1008 Bytes
/
action.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
name: 'Update yaml files in place'
description: 'kubernetes yaml file updater'
inputs:
mode: # ENV_VAR or IMAGE_TAG or HELM_VALUES
description: 'TYPE of the new value to be updated'
required: true
default: 'IMAGE_TAG'
container-name:
description: 'Name of the container'
required: true
default: ''
files:
description: 'Comma separated paths to YAML files'
required: true
new-image-tag:
description: 'Tag value for the new image'
required: false
default: ''
env-name:
description: 'Env key value present in the container-name'
required: false
default: ''
new-env-value:
description: 'New value for env-name'
required: false
default: ''
runs:
using: 'docker'
image: 'docker://ghcr.io/loveholidays/gitops-action-yaml-updater:v1.8.2'
args:
- ${{ inputs.mode }}
- ${{ inputs.container-name }}
- ${{ inputs.files }}
- ${{ inputs.new-image-tag }}
- ${{ inputs.env-name }}
- ${{ inputs.new-env-value }}