File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change 8585 - checkout
8686 - setup_remote_docker
8787 - run : |
88+ docker buildx create \
89+ --name container-builder \
90+ --driver docker-container \
91+ --bootstrap --use
8892 for cmd in << pipeline.parameters.cmds >>; do
89- docker build --build-arg cmd=${cmd} -f ./cmd/${cmd}/Dockerfile -t robocupssl/${cmd}:latest .
93+ docker buildx build --platform linux/amd64,linux/arm64 --build-arg cmd=${cmd} -f ./cmd/${cmd}/Dockerfile -t robocupssl/${cmd}:latest .
9094 done
9195
9296 publish_docker :
@@ -101,7 +105,7 @@ jobs:
101105 TAG=${CIRCLE_TAG:1}
102106 TAG=${TAG:-latest}
103107 for cmd in << pipeline.parameters.cmds >>; do
104- docker build --build-arg cmd=${cmd} -f ./cmd/${cmd}/Dockerfile -t robocupssl/${cmd}:${TAG} .
108+ docker buildx build --platform linux/amd64,linux/arm64 --build-arg cmd=${cmd} -f ./cmd/${cmd}/Dockerfile -t robocupssl/${cmd}:${TAG} .
105109 docker login -u "${DOCKER_HUB_USERNAME}" -p "${DOCKER_HUB_PASSWORD}"
106110 docker push robocupssl/${cmd}:${TAG}
107111 done
You can’t perform that action at this time.
0 commit comments