Skip to content

Commit de7d3e3

Browse files
committed
Add http app native arch image
Signed-off-by: Federico Busetti <[email protected]>
1 parent 7cfb205 commit de7d3e3

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

.gitlab_ci/build.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,32 @@ build-test:
99
- if: $CI_PIPELINE_SOURCE == "merge_request_event"
1010
extends:
1111
- .build-and-push-gitlab
12+
13+
build-http-app-amd64:
14+
stage: build
15+
variables:
16+
DOCKER_IMAGE_TAG_PREFIX: "amd64-http-"
17+
DOCKER_TARGET: http_app
18+
tags:
19+
- saas-linux-small-amd64
20+
rules:
21+
# We run the pipeline only on merge requests or the `main` branch
22+
- if: $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH
23+
- if: $CI_PIPELINE_SOURCE == "merge_request_event"
24+
extends:
25+
- .build-and-push-gitlab
26+
27+
build-http-app-arm64:
28+
stage: build
29+
variables:
30+
DOCKER_IMAGE_TAG_PREFIX: "arm64-http-"
31+
DOCKER_PLATFORM: "linux/arm64"
32+
DOCKER_TARGET: http_app
33+
tags:
34+
- saas-linux-small-arm64
35+
rules:
36+
# We run the pipeline only on merge requests or the `main` branch
37+
- if: $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH
38+
- if: $CI_PIPELINE_SOURCE == "merge_request_event"
39+
extends:
40+
- .build-and-push-gitlab

0 commit comments

Comments
 (0)