-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathaction.yml
43 lines (43 loc) · 1.14 KB
/
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
39
40
41
42
43
name: 'ArgoCD PR Jsonnet Application'
description: 'Deploy argocd application running jsonnet compiled manifests'
inputs:
github-pat:
description: 'secrets.GITHUB_PAT'
required: true
kubeconfig:
description: 'secrets.ALPHA_KUBECTL'
required: true
org:
description: 'github orginization'
required: true
infra-repo:
description: 'infra repo name'
required: true
pr-ref:
description: 'github.event.pull_request.head.ref'
required: true
cluster:
description: 'github.event.deployment.environment'
required: true
domain:
description: 'domain name for the compiled application'
required: true
image:
description: 'docker image name for the compiled application manifests'
required: true
tag:
description: 'docker image tag for the compiled application manifets'
required: true
runs:
using: 'docker'
image: 'Dockerfile'
args:
- ${{ inputs.github-pat }}
- ${{ inputs.kubeconfig }}
- ${{ inputs.org }}
- ${{ inputs.infra-repo}}
- ${{ inputs.pr-ref }}
- ${{ inputs.cluster }}
- ${{ inputs.domain }}
- ${{ inputs.image }}
- ${{ inputs.tag }}