File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 5151 - run : |
5252 set -u
5353 version=${CIRCLE_TAG:-}
54- for cmd in ${ cmds} ; do
54+ for cmd in << pipeline.parameters. cmds >> ; do
5555 GOOS=linux GOARCH=amd64 go build -o ./release/${cmd}_${version}_linux_amd64 ./cmd/${cmd}
5656 GOOS=linux GOARCH=arm64 go build -o ./release/${cmd}_${version}_linux_arm64 ./cmd/${cmd}
5757 GOOS=linux GOARCH=arm go build -o ./release/${cmd}_${version}_linux_arm ./cmd/${cmd}
8585 - setup_remote_docker :
8686 version : 20.10.18
8787 - run : |
88- for cmd in ${ cmds} ; do
88+ for cmd in << pipeline.parameters. cmds >> ; do
8989 docker build -f ./cmd/${cmd}/Dockerfile -t robocupssl/${cmd}:latest .
9090 done
9191
@@ -101,7 +101,7 @@ jobs:
101101 # Parse version from tag (removing 'v' prefix)
102102 TAG=${CIRCLE_TAG:1}
103103 TAG=${TAG:-latest}
104- for cmd in ${ cmds} ; do
104+ for cmd in << pipeline.parameters. cmds >> ; do
105105 docker build -f ./cmd/${cmd}/Dockerfile -t robocupssl/${cmd}:${TAG} .
106106 docker login -u "${DOCKER_HUB_USERNAME}" -p "${DOCKER_HUB_PASSWORD}"
107107 docker push robocupssl/${cmd}:${TAG}
You can’t perform that action at this time.
0 commit comments