forked from Tradeshift/actions-docker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
59 lines (59 loc) · 1.44 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
55
56
57
58
59
name: 'docker action'
description: 'does auth, build and push'
author: 'Tradeshift'
inputs:
build-args:
required: false
description: list of build args
builder:
required: false
description: buildx builder to use
context:
required: true
description: docker context
default: .
file:
required: false
description: path to dockerfile
labels:
required: false
description: list of labels
load:
required: false
description: wether to load the image in the docker deamon
password:
required: false
description: >
Password for docker registry detected from the repository.
push:
required: false
description: wether to push or not
default: true
repository:
required: false
description: >
The repository where default tags will be pushed. If not specified this
will default to eu.gcr.io/tradeshift-base/<repo-name>
tags:
required: false
description: list of tags
username:
required: false
description: >
Username for docker registry detected from the repository.
default: _json_key
auth-only:
required: true
description: >
This flag can be used in case only authentication against docker
repo is needed
default: false
outputs:
builder:
description: buildx builder name
image:
description: full image name including git SHA tag
runs:
using: 'node12'
main: 'dist/index.js'
post: 'dist/index.js'