Feature: Add a possibility to pass additional args to buildx instance
It is not currently possible to pass additional parameters to the docker buildx create
command. This MR adds this possibility.
Motivation
- Our builds fail with a network connection error if we use the
docker-container
driver needed for cache typeregistry
because this driver spans up another docker container which we would have to pass the--driver-opt network=host
option to gain network access. - It would be possible to use the
kubernetes
driver with buildx.
Behaviour and Features
The following variable has been added:
-
AUTO_DEVOPS_BUILDX_INSTANCE_EXTRA_ARGS
- accepts all parameters described in https://docs.docker.com/engine/reference/commandline/buildx_create/ (Default empty)