This repository was archived by the owner on Dec 5, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +7
-8
lines changed
Expand file tree Collapse file tree 2 files changed +7
-8
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ script:
1212 - set -e
1313 - curl -o docker-compose.yml -sSL https://raw.githubusercontent.com/microservices-demo/microservices-demo/master/deploy/docker-compose/docker-compose.yml
1414 - docker-compose -f docker-compose.yml up -d
15- - docker build -t weaveworksdemos/load-test .
15+ - docker build -t ${GROUP}/${REPO}:${COMMIT} .
1616 - docker run --rm --net loadtest_default -t weaveworksdemos/load-test -d 180 -h edge-router -c 250 -r 2500
1717
1818after_success :
Original file line number Diff line number Diff line change @@ -31,13 +31,12 @@ tag_and_push_all() {
3131 else
3232 TAG=$1
3333 fi
34- for m in ./docker/* /; do
35- REPO=${GROUP} /$( basename $m )
36- if [[ " $COMMIT " != " $TAG " ]]; then
37- docker tag ${REPO} :${COMMIT} ${REPO} :${TAG}
38- fi
39- push " $REPO :$TAG " ;
40- done ;
34+ DOCKER_REPO=${GROUP} /${REPO}
35+ if [[ " $COMMIT " != " $TAG " ]]; then
36+ echo " Tagging docker release"
37+ docker tag ${DOCKER_REPO} :${COMMIT} ${DOCKER_REPO} :${TAG}
38+ fi
39+ push " $DOCKER_REPO :$TAG " ;
4140}
4241
4342# Always push commit
You can’t perform that action at this time.
0 commit comments