forked from jwalton/gh-ecr-push
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
34 lines (34 loc) · 1.14 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
name: Push to Amazon ECR with optional tagging
author: rgarcia-phi
description: Push a docker image to (or pull from) Amazon ECR.
inputs:
access-key-id:
required: true
description: Access key for IAM User.
secret-access-key:
required: true
description: Secret access key for IAM User.
image:
required: true
description: The name of the image on ECR.
local-image:
description: The local name of the image. If not specified, defaults to same as 'image'.
required: false
region:
description: AWS Region to use. Defaults to us-east-1.
required: false
direction:
description: Whether to "push" or "pull" the image. Defaults to "push".
required: false
is-semver:
description: Specifies if the image follows the semantic versioning standard. It will push X, X.Y and X.Y.Z tags. Defaults to false.
required: false
skip-tag:
description: If the image must be tagged before the push is made. Defaults to false.
required: false
runs:
using: node12
main: 'main.js'
branding:
icon: upload
color: orange