ci: make arm builds on-demand

This commit is contained in:
Daniel Schädler 2026-04-23 14:28:27 +02:00
parent 2d0f2d79e4
commit 5288d26fa4
2 changed files with 4 additions and 4 deletions

View File

@ -6,7 +6,6 @@ stages:
variables:
DOCKER_IMAGE_ENVS: "production test"
DOCKER_IMAGE_PLATFORMS: "linux/amd64,linux/arm64"
DOCKERFILE_PATH: "Dockerfile"
DOCKER_BUILD_TARGETS: "production=production test=test"

View File

@ -18,7 +18,8 @@ Backend now uses:
- `DOCKER_IMAGE_ENVS: "production test"`
- `DOCKERFILE_PATH: "Dockerfile"`
- `DOCKER_BUILD_TARGETS: "production=production test=test"`
- `DOCKER_IMAGE_PLATFORMS: "linux/amd64,linux/arm64"`
- shared infra template builds amd64 automatically on push pipelines
- shared infra template builds arm64 manually on branch pipelines and automatically on default-branch pushes
## turniere-frontend
@ -33,7 +34,7 @@ Frontend can move in two steps.
Recommended frontend CI change after infra is merged:
- keep `DOCKER_IMAGE_ENVS: "production"`
- add `DOCKER_IMAGE_PLATFORMS: "linux/amd64,linux/arm64"`
- no extra platform variable needed if default shared behavior is acceptable
Optional frontend follow-up:
@ -51,7 +52,7 @@ template contract.
Recommended match CI change after infra is merged:
- keep `DOCKER_IMAGE_ENVS: "production"`
- add `DOCKER_IMAGE_PLATFORMS: "linux/amd64,linux/arm64"`
- no extra platform variable needed if default shared behavior is acceptable
Suggested follow-up: