Skip to content
This repository was archived by the owner on Dec 5, 2023. It is now read-only.

Commit 474937b

Browse files
the load-test image does not contian a Docker directory. Placed the old push code back
1 parent 14cb270 commit 474937b

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

push.sh

+6-7
Original file line numberDiff line numberDiff 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
# Push snapshot when in master

0 commit comments

Comments
 (0)