microsoft / azure-pipelines-tasks-common-packages

MIT License
23 stars 36 forks source link

Use buildx instead of build for docker Images #273

Open la7eralus opened 7 months ago

la7eralus commented 7 months ago

We get a warning in our azdo pipeline (Docker@2):

DEPRECATED: The legacy builder is deprecated and will be removed in a future release.
            Install the buildx component to build images with BuildKit:
            https://docs.docker.com/go/buildx/

Are there plans, to support the "new" buildx command? Code: https://github.com/microsoft/azure-pipelines-tasks-common-packages/blob/470ed3de23c0485a248ec8b15df62628705f65e1/common-npm-packages/docker-common/dockercommandutils.ts#L20

Reference: https://docs.docker.com/engine/deprecated/#deprecated-engine-features-1 (Legacy Builder for Linux Images)

davidreher commented 1 month ago

Here is some more info on the deprecation itself.