-
Notifications
You must be signed in to change notification settings - Fork 3
/
action.yml
40 lines (40 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
name: Docker Build and Upload to AWS ECR
author: vitr <[email protected]>
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
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: .
runs:
using: docker
image: Dockerfile