-
Notifications
You must be signed in to change notification settings - Fork 28
Expand file tree
/
Copy pathdocker-bake.hcl
More file actions
37 lines (31 loc) · 836 Bytes
/
Copy pathdocker-bake.hcl
File metadata and controls
37 lines (31 loc) · 836 Bytes
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
variable "GITLAB_VERSION" {
default = "19.1.1-ce.0"
}
variable "GITLAB_BASE_IMAGE" {
default = "gitlab/gitlab-ce:${GITLAB_VERSION}"
}
variable "GITLAB_FIXTURE_RUNTIME_IMAGE" {
default = "kenn-forge/gitlab-ce-fixture-runtime:${GITLAB_VERSION}"
}
variable "GITLAB_FIXTURE_IMAGE" {
default = "kenn-forge/gitlab-ce-fixture:${GITLAB_VERSION}"
}
group "default" {
targets = ["gitlab-fixture-runtime"]
}
target "gitlab-fixture-runtime" {
context = "scripts/e2e/gitlab"
dockerfile = "Dockerfile.fixture"
args = {
GITLAB_BASE_IMAGE = "${GITLAB_BASE_IMAGE}"
}
tags = ["${GITLAB_FIXTURE_RUNTIME_IMAGE}"]
}
target "gitlab-fixture" {
context = "scripts/e2e/gitlab"
dockerfile = "Dockerfile.prebaked"
args = {
GITLAB_RUNTIME_IMAGE = "${GITLAB_FIXTURE_RUNTIME_IMAGE}"
}
tags = ["${GITLAB_FIXTURE_IMAGE}"]
}