forked from aws-actions/amazon-ecr-login
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
35 lines (35 loc) · 1.22 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
name: 'Amazon ECR "Login" Action for GitHub Actions'
description: 'Logs in the local Docker client to one or more Amazon ECR Private registries or an Amazon ECR Public registry'
branding:
icon: 'cloud'
color: 'orange'
inputs:
registries:
description: >-
A comma-delimited list of AWS account IDs that are associated with the ECR Private registries.
If you do not specify a registry, the default ECR Private registry is assumed.
If 'public' is given as input to 'registry-type', this input is ignored.
required: false
skip-logout:
description: >-
Whether to skip explicit logout of the registries during post-job cleanup.
Exists for backward compatibility on self-hosted runners.
Not recommended.
Options: ['true', 'false']
required: false
default: 'false'
registry-type:
description: >-
Which ECR registry type to log into.
Options: [private, public]
required: false
default: private
outputs:
registry:
description: >-
The URI of the ECR Private or ECR Public registry.
If logging into multiple registries on ECR Private, this output will not be set.
runs:
using: 'node16'
main: 'dist/index.js'
post: 'dist/cleanup/index.js'