login-action/action.yml

28 lines
778 B
YAML
Raw Permalink Normal View History

2020-08-15 20:45:36 +08:00
# https://help.github.com/en/articles/metadata-syntax-for-github-actions
name: 'Docker Login'
description: 'GitHub Action to login against a Docker registry'
author: 'crazy-max'
branding:
2020-08-15 21:00:22 +08:00
icon: 'log-in'
2020-08-15 20:45:36 +08:00
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: true
logout:
description: 'Log out from the Docker registry at the end of a job'
default: 'true'
required: false
runs:
using: 'node12'
main: 'dist/index.js'
post: 'dist/index.js'