Skip to content

Commit f6c4778

Browse files
committed
Push docker image with docker buildx build --push
1 parent 1b077d2 commit f6c4778

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.circleci/config.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,9 +110,8 @@ jobs:
110110
TAG=${CIRCLE_TAG:1}
111111
TAG=${TAG:-latest}
112112
for cmd in << pipeline.parameters.cmds >>; do
113-
docker buildx build --platform linux/amd64,linux/arm64 --build-arg cmd=${cmd} -f ./cmd/${cmd}/Dockerfile -t robocupssl/${cmd}:${TAG} .
114113
docker login -u "${DOCKER_HUB_USERNAME}" -p "${DOCKER_HUB_PASSWORD}"
115-
docker push robocupssl/${cmd}:${TAG}
114+
docker buildx build --platform linux/amd64,linux/arm64 --build-arg cmd=${cmd} -f ./cmd/${cmd}/Dockerfile -t robocupssl/${cmd}:${TAG} --push .
116115
done
117116
118117
workflows:

0 commit comments

Comments
 (0)