Use individual parallel jobs to build multiarch docker images

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel 2022-10-12 11:25:09 +02:00
parent 3400ee0ce0
commit 36932f601d
No known key found for this signature in database
GPG key ID: A061B9DDE0CA0773

View file

@ -238,10 +238,14 @@ build-docker-tag:
- > - >
docker buildx build docker buildx build
--push --push
--platform linux/amd64,linux/arm64,linux/arm --platform $ARCH
-t framasoft/mobilizon:$CI_COMMIT_TAG -t framasoft/mobilizon:$CI_COMMIT_TAG
-t framasoft/mobilizon:latest -t framasoft/mobilizon:latest
-f docker/production/Dockerfile . -f docker/production/Dockerfile .
parallel:
matrix:
- ARCH: ["linux/amd64", "linux/arm64", "linux/arm"]
# Packaging app for amd64 # Packaging app for amd64
package-app: package-app: