-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
44 lines (42 loc) · 1.09 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
44
name: AWS ECR EKS
author: Nithin Meppurathu <[email protected]>
description: logs into aws, build and pushes to ecr, allows to run kubectl
branding:
icon: 'cloud'
color: 'red'
inputs:
AWS_REGION:
description: The aws region
required: true
AWS_ACCESS_KEY_ID:
description: The aws access id
required: true
AWS_SECRET_ACCESS_KEY:
description: The aws secret key
required: true
ECR_REGISTRY:
description: The ecr registry
required: true
ECR_REPOSITORY:
description: the erc repo name
required: false
default: true
IMAGE_TAG:
description: what to build as the image
required: false
default: true
KUBE_CONFIG:
description: your kube config base64
required: false
default: true
runs:
using: 'docker'
image: 'Dockerfile'
args:
- ${{ inputs.AWS_REGION }}
- ${{ inputs.AWS_ACCESS_KEY_ID }}
- ${{ inputs.AWS_SECRET_ACCESS_KEY }}
- ${{ inputs.ECR_REGISTRY }}
- ${{ inputs.ECR_REPOSITORY }}
- ${{ inputs.IMAGE_TAG }}
- ${{ inputs.KUBE_CONFIG }}