mirror of
https://gitee.com/actions-mirror/docker-login-action
synced 2024-11-23 20:30:41 +08:00
5df5104555
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
28 lines
776 B
YAML
28 lines
776 B
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
|
|
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'
|