Skip to content

Commit 4712a45

Browse files
committed
Fix docker buildx push
1 parent a3ea05e commit 4712a45

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
@@ -114,9 +114,8 @@ jobs:
114114
TAG=${CIRCLE_TAG:1}
115115
TAG=${TAG:-latest}
116116
for cmd in << pipeline.parameters.cmds >>; do
117-
docker buildx build --platform linux/amd64,linux/arm64 --build-arg cmd=${cmd} -f ./cmd/${cmd}/Dockerfile -t robocupssl/${cmd}:${TAG} .
118117
docker login -u "${DOCKER_HUB_USERNAME}" -p "${DOCKER_HUB_PASSWORD}"
119-
docker push robocupssl/${cmd}:${TAG}
118+
docker buildx build --platform linux/amd64,linux/arm64 --build-arg cmd=${cmd} -f ./cmd/${cmd}/Dockerfile -t robocupssl/${cmd}:${TAG} --push .
120119
done
121120
122121
workflows:

0 commit comments

Comments
 (0)