mirror of
https://github.com/docker/login-action.git
synced 2025-04-01 20:50:06 +02:00
38 lines
1.1 KiB
YAML
38 lines
1.1 KiB
YAML
# https://help.github.com/en/articles/metadata-syntax-for-github-actions
|
|
name: 'Docker Login'
|
|
description: 'GitHub Action to login against a Docker registry'
|
|
author: 'docker'
|
|
branding:
|
|
icon: 'anchor'
|
|
color: 'blue'
|
|
|
|
inputs:
|
|
registry:
|
|
description: 'Server address of Docker registry. If not set then will default to Docker Hub'
|
|
required: false
|
|
username:
|
|
description: 'Username used to log against the Docker registry'
|
|
required: false
|
|
password:
|
|
description: 'Password or personal access token used to log against the Docker registry'
|
|
required: false
|
|
ecr:
|
|
description: 'Specifies whether the given registry is ECR (auto, true or false)'
|
|
default: 'auto'
|
|
required: false
|
|
logout:
|
|
description: 'Log out from the Docker registry at the end of a job'
|
|
default: 'true'
|
|
required: false
|
|
retryErrorPattern:
|
|
description: "Regexp to match error message"
|
|
required: false
|
|
retries:
|
|
description: "Maximum retries in case of errors (limit of 50 hardcoded)"
|
|
default: "3"
|
|
required: false
|
|
|
|
runs:
|
|
using: 'node12'
|
|
main: 'dist/index.js'
|
|
post: 'dist/index.js'
|