login-action/action.yml
Fedor Dikarev ca362a507b add attempts to the action.yml
Signed-off-by: Fedor Dikarev <fedor.dikarev@gmail.com>
2024-10-29 22:28:24 +01:00

36 lines
1.0 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
attetmps:
description: 'Number of attempts to try in case of server-side errors'
default: '1'
required: false
runs:
using: 'node20'
main: 'dist/index.js'
post: 'dist/index.js'