forked from kciter/aws-ecr-action
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
56 lines (56 loc) · 1.67 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
53
54
55
56
name: DCE ECR
author: Jay Luker <jay_luker@harvard.edu>
branding:
icon: upload-cloud
color: orange
description: Create Docker images and push into a ECR repository.
inputs:
access_key_id:
description: The AWS access key id
required: true
secret_access_key:
description: The AWS secret access key
required: true
account_id:
description: AWS Account ID
required: true
assume_role:
description: A role to assume under the account_id account.
required: false
default: ""
repo:
description: Name of your ECR repository
required: true
region:
description: The AWS region
required: true
create_repo:
description: Set this to true to create the repository if it does not already exist
default: true
tags:
description: Comma-separated string of ECR image tags
default: latest
add_branch_tag:
description: Add an additional image tag based on the branch/revision name
default: true
add_package_version_tag_for_branch:
description: Add an additional image tag based on the app's package.json version when building the specified branch
default: master
dockerfile:
description: Name of Dockerfile to use
default: Dockerfile
extra_build_args:
description: Extra flags to pass to docker build (see docs.docker.com/engine/reference/commandline/build)
default: ""
path:
description: Path to Dockerfile, defaults to the working directory
default: .
slack_webhook_url:
description: Slack Webhook URL for posting notifications
default: ""
outputs:
image_for_scanning:
description: "The label:tag for a local image suitable for scanning"
runs:
using: docker
image: Dockerfile