-
Notifications
You must be signed in to change notification settings - Fork 12
/
action.yml
103 lines (103 loc) · 3 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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
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
builder-image:
required: false
description: buildx image to use
context:
required: false
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
platform:
required: false
description: list of architectures to build against
repo-cache:
required: false
description: use repo cache (actions/cache) for docker layers
default: false
repo-cache-key:
required: false
description: use this to invalidate existing cache
default: buildx
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>
registries:
required: false
description: >
A mulitline string with registries to login to
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: false
description: >
This flag can be used in case only authentication against docker
repo is needed
default: "false"
skip-default-tag:
required: false
description: >
This flag can be used to disable automatically tagging the image with the SHA.
Skipping default tag requires specifying alternative tags.
skip-tag-with-prefix:
required: false
description: >
This flag can be used to disable automatically tagging images with prefixes
based on the type of build: on master branch or on pull rquest or when a tag is created in GitHub.
An image built from a pull request is tagged with pr-<number>-<SHA>.
An image built on merge to master branch is tagged with master-<SHA>.
An image built from a tag is tagged with tag-<SHA>.
useqemu:
required: false
description: >
This flag can be used to enable Qemu, which is used for multi architecture builds like arm
default: "false"
aws-access-key-id:
required: false
description: >
AWS Access Key ID is required if runners are hosted by GitHub.
aws-secret-access-key:
required: false
description: >
AWS Secret Key is required if runners are hosted by GitHub.
outputs:
builder:
description: buildx builder name
image:
description: full image name including git SHA tag
runs:
using: "node20"
main: "dist/index.js"
post: "dist/index.js"