forked from kciter/aws-ecr-action
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
50 lines (50 loc) · 1.37 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
name: AWS ECR
author: Lee Sun-Hyoup <kciter@naver.com>
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: false
tags:
description: Comma-separated string of ECR image tags
default: latest
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: .
prebuild_script:
description: Relative path from top-level to script to run before Docker build
required: false
outputs:
image:
description: 'The created image name'
runs:
using: docker
image: Dockerfile