-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmold.yaml
43 lines (39 loc) · 1.4 KB
/
mold.yaml
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
version: "0.5"
includes:
- url: "github.com/xtfc/std.mold"
ref: "0.5"
recipes:
login:
help: "Log in to container registry"
runtime: "sh"
variables:
REGISTRY: "Registry URL"
REGISTRY_USER: "Username"
REGISTRY_PASSWORD: "Password"
CI: "Enables using CI credentials"
CI_REGISTRY: "(preset) Default registry if $CI is set"
CI_REGISTRY_USER: "(preset) Default registry if $CI is set"
CI_REGISTRY_PASSWORD: "(preset) Default registry if $CI is set"
build:
help: "Build container image"
runtime: "sh"
variables:
DOCKER_ARGS: "Additional arguments to pas to docker build"
DOCKER_REGISTRY: "Registry URL"
DOCKER_IMAGE: "Image name"
DOCKER_TAG: "Tag label"
CI: "Enables using CI variables"
CI_COMMIT_REF_SLUG: "(preset) Default image tag if $CI is set"
CI_REGISTRY_IMAGE: "(preset) Default image name if $CI is set"
CI_IMAGE: "Suffix to append to $CI_REGISTRY_IMAGE if $CI is set"
push:
help: "Push container image to registry"
runtime: "sh"
variables:
DOCKER_REGISTRY: "Registry URL"
DOCKER_IMAGE: "Image name"
DOCKER_TAG: "Tag label"
CI: "Enables using CI variables"
CI_COMMIT_REF_SLUG: "(preset) Default image tag if $CI is set"
CI_REGISTRY_IMAGE: "(preset) Default image name if $CI is set"
CI_IMAGE: "Suffix to append to $CI_REGISTRY_IMAGE if $CI is set"