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 51
51
- run : |
52
52
set -u
53
53
version=${CIRCLE_TAG:-}
54
- for cmd in ${ cmds} ; do
54
+ for cmd in << pipeline.parameters. cmds >> ; do
55
55
GOOS=linux GOARCH=amd64 go build -o ./release/${cmd}_${version}_linux_amd64 ./cmd/${cmd}
56
56
GOOS=linux GOARCH=arm64 go build -o ./release/${cmd}_${version}_linux_arm64 ./cmd/${cmd}
57
57
GOOS=linux GOARCH=arm go build -o ./release/${cmd}_${version}_linux_arm ./cmd/${cmd}
85
85
- setup_remote_docker :
86
86
version : 20.10.18
87
87
- run : |
88
- for cmd in ${ cmds} ; do
88
+ for cmd in << pipeline.parameters. cmds >> ; do
89
89
docker build -f ./cmd/${cmd}/Dockerfile -t robocupssl/${cmd}:latest .
90
90
done
91
91
@@ -101,7 +101,7 @@ jobs:
101
101
# Parse version from tag (removing 'v' prefix)
102
102
TAG=${CIRCLE_TAG:1}
103
103
TAG=${TAG:-latest}
104
- for cmd in ${ cmds} ; do
104
+ for cmd in << pipeline.parameters. cmds >> ; do
105
105
docker build -f ./cmd/${cmd}/Dockerfile -t robocupssl/${cmd}:${TAG} .
106
106
docker login -u "${DOCKER_HUB_USERNAME}" -p "${DOCKER_HUB_PASSWORD}"
107
107
docker push robocupssl/${cmd}:${TAG}
You can’t perform that action at this time.
0 commit comments