forked from jerray/publish-docker-action
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
54 lines (54 loc) · 1.46 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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
name: 'Publish Docker Action'
description: 'Build, tag and publish docker image to your docker registry'
author: 'jerray'
inputs:
username:
description: 'Username used to login docker registry'
required: true
password:
description: 'Password used to login docker registry'
required: true
registry:
description: 'Docker registry server address'
required: false
repository:
description: 'Docker repository name'
required: false
file:
description: 'Docker file used to build image'
default: 'Dockerfile'
required: false
path:
description: 'Docker build context'
default: '.'
required: false
tags:
description: 'Static image tag list, separated by comma'
default: 'latest'
required: false
build_args:
description: 'Docker build-time variables, separated by comma'
required: false
target:
description: 'Docker build target (stage name) for multi-stage builds'
required: false
allow_pull_request:
description: 'If allow pull request trigger build'
default: 'false'
required: false
auto_tag:
description: 'Generate tags by conditions automatically'
default: 'false'
required: false
cache:
description: 'Images to consider as cache sources'
required: false
outputs:
tag:
description: 'Tag name produced by activating the auto_tag option'
runs:
using: 'docker'
image: 'docker://jerray/publish-docker-action:1.0.5'
branding:
icon: 'anchor'
color: 'blue'