Use individual parallel jobs to build multiarch docker images
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
3400ee0ce0
commit
36932f601d
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue