-
Notifications
You must be signed in to change notification settings - Fork 649
Description
Here is the current workflow :
a) --- docker-maven-plugin:0.45.1:build
docker [...] buildx create --driver docker-container --name maven
docker [...] buildx build --progress=plain --builder maven --platform linux/amd64 [...]
b) --- maven-failsafe-plugin:3.5.2:integration-test
c) --- docker-maven-plugin:0.45.1:push
docker [...] buildx build --progress=plain --builder maven --platform linux/amd64,linux/arm64 [...]
The 1st step is building only amd64 (native) and it can take some time.
The 3rd step is building both amd64 (in cache) and arm64 (it can take some time), before pushing them to registry
In order to accelerate the builds in CICD (GitLab), would it be possible to have an optional parameter to allow building in parallel both architectures during "build" step (a) ?