File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -157,7 +157,7 @@ docker-buildx: ## Build and push docker image for the manager for cross-platform
157157 sed -e ' 1 s/\(^FROM\)/FROM --platform=\$$\{BUILDPLATFORM\}/; t' -e ' 1,// s//FROM --platform=\$$\{BUILDPLATFORM\}/' Dockerfile > Dockerfile.cross
158158 - $(CONTAINER_TOOL ) buildx create --name project-v3-builder
159159 $(CONTAINER_TOOL ) buildx use project-v3-builder
160- - $(CONTAINER_TOOL ) buildx build --push --platform=$(PLATFORMS ) --tag ${IMG} -f Dockerfile.cross .
160+ - $(CONTAINER_TOOL ) buildx build --push --platform=$(PLATFORMS ) --tag ${IMG} --build-arg BASE_IMAGE= $( BASE_IMAGE ) --build-arg BUILDER_IMAGE= $( BUILDER_IMAGE ) --build-arg CGO_ENABLED= $( CGO_ENABLED ) $( IMAGE_BUILD_EXTRA_OPTS ) - f Dockerfile.cross .
161161 - $(CONTAINER_TOOL ) buildx rm project-v3-builder
162162 rm Dockerfile.cross
163163
You can’t perform that action at this time.
0 commit comments