-
Notifications
You must be signed in to change notification settings - Fork 2
/
gh-actions-bake.hcl
executable file
·97 lines (81 loc) · 2.61 KB
/
gh-actions-bake.hcl
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
variable "CONTEXT" {
default = "images"
}
target "docker-metadata-action" {}
target "ci-builder" {
inherits = ["docker-metadata-action"]
context = "${CONTEXT}/ci-builder"
dockerfile = "Dockerfile"
platforms = ["linux/amd64"]
}
target "elasticsearch" {
inherits = ["docker-metadata-action"]
context = "${CONTEXT}/elasticsearch"
dockerfile = "Dockerfile"
platforms = ["linux/amd64", "linux/arm64"]
}
target "mailhog" {
inherits = ["docker-metadata-action"]
context = "${CONTEXT}/mailhog"
dockerfile = "Dockerfile"
platforms = ["linux/amd64", "linux/arm64"]
}
target "mariadb" {
inherits = ["docker-metadata-action"]
context = "${CONTEXT}/mariadb"
dockerfile = "Dockerfile"
platforms = ["linux/amd64", "linux/arm64"]
}
target "nginx" {
inherits = ["docker-metadata-action"]
context = "${CONTEXT}/nginx"
dockerfile = "Dockerfile"
platforms = ["linux/amd64", "linux/arm64"]
labels = {
"org.opencontainers.image.description" = "Drupal-optimised nginx image for Bay container platform"
}
}
target "node" {
inherits = ["docker-metadata-action"]
context = "${CONTEXT}/node"
dockerfile = "Dockerfile"
platforms = ["linux/amd64", "linux/arm64"]
}
target "php-cli" {
inherits = ["docker-metadata-action"]
context = "${CONTEXT}/php"
dockerfile = "Dockerfile.cli"
platforms = ["linux/amd64", "linux/arm64"]
labels = {
"org.opencontainers.image.description" = "PHP Drupal CLI image for Bay container platform"
"org.opencontainers.image.source" = "https://github.com/dpc-sdp/bay/blob/6.x/images/bay-php/Dockerfile.cli"
}
}
target "php-fpm" {
inherits = ["docker-metadata-action"]
context = "${CONTEXT}/php"
dockerfile = "Dockerfile.fpm"
platforms = ["linux/amd64", "linux/arm64"]
labels = {
"org.opencontainers.image.description" = "PHP-FPM image for Bay container platform"
"org.opencontainers.image.source" = "https://github.com/dpc-sdp/bay/blob/6.x/images/bay-php/Dockerfile.fpm"
}
}
target "ripple-static" {
inherits = ["docker-metadata-action"]
context = "${CONTEXT}/ripple-static"
dockerfile = "Dockerfile"
platforms = ["linux/amd64", "linux/arm64"]
labels = {
"org.opencontainers.image.description" = "Ripple static site generator image optimised for the Bay container platform"
}
}
target "awx-ee" {
inherits = ["docker-metadata-action"]
context = "${CONTEXT}/awx-ee/context"
platforms = ["linux/amd64", "linux/arm64"]
args = {
PYCMD = "/usr/local/bin/python3"
PKGMGR = "/usr/bin/apt-get"
}
}