-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy path.app.toml
52 lines (38 loc) · 1.71 KB
/
.app.toml
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
# Application name
name = "myredis"
[[Task]]
# Task name
name = "build"
# Command to execute.
# The first element is the command, the following its arguments.
command = ["docker", "build", "--iidfile", ".container.id", "."]
# Inputs are tracked, when they change the task is rerun.
[Task.Input]
[[Task.Input.Files]]
# Glob patterns that match files.
# All Paths are relative to the application directory.
# Golang's Glob syntax (https://golang.org/pkg/path/filepath/#Match)
# and ** is supported to match files recursively.
paths = ["*"]
[Task.Input.ExcludedFiles]
# Specifies files that are excluded from the Inputs.
# ExcludedFiles are processed after all other Input types.
# All Paths are relative to the application directory.
# Golang's Glob syntax (https://golang.org/pkg/path/filepath/#Match)
# and ** is supported to match files recursively.
paths = ["*.md"]
# Artifacts produced by the Task.command and their upload destinations.
[Task.Output]
[[Task.Output.DockerImage]]
# File containing the image ID of the produced image (docker build --iidfile).
idfile = ".container.id"
[[Task.Output.DockerImage.RegistryUpload]]
# Registry address in the format <HOST>:[<PORT>]. If it's empty the docker agent's default is used.
registry = "localhost:5000"
repository = "baur-example/{{ .AppName }}"
tag = "{{ gitCommit }}"
[[Task.Output.DockerImage.RegistryUpload]]
# Registry address in the format <HOST>:[<PORT>]. If it's empty the docker agent's default is used.
registry = "localhost:5000"
repository = "baur-example/{{ .AppName }}"
tag = "latest"