-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
54 lines (52 loc) · 1.59 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
45
46
47
48
49
50
51
52
name: 'AWS ECR Images Deploy'
description: 'Automatically deploys deploys image(s) to aws Elastic Container Registry-ECR'
inputs:
access_key_id:
description: 'AWS access key id'
required: true
secret_access_key:
description: 'AWS secret acess key'
required: true
region:
description: 'AWS Region whose servers you want to send your requests to by default. Region close to you'
required: true
aws_account_id:
description: 'AWS account id'
required: true
repo_name:
description: 'AWS ECR Repository name'
required: false
scan_on_push:
description: 'Scan image on pushing to ECR'
required: false
default: true
image_name:
description: 'Docker image name'
required: true
use_compose:
description: 'Build from docker compose file'
required: false
default: false
docker_path:
description: 'Path to Dockerfile or docker-compose file'
default: './'
repo_uri:
description: 'AWS ECR Repository URI'
required: false
tag_name:
description: 'AWS ECR Repository Image tag name'
required: false
default: 'latest'
force_push:
description: 'Force push to AWS ECR if there are conflicts or git fast forwards issues'
required: false
default: false
working-directory:
description: 'The directory for the commands to execute in'
default: './'
outputs:
status:
description: "Status of the action"
runs:
using: "node12"
main: "index.js"