Skip to content

parallel multi-arch docker buildx #1866

@DavidTavoularis

Description

@DavidTavoularis

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) ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions