Skip to content

Commit

Permalink
No docker directory
Browse files Browse the repository at this point in the history
  • Loading branch information
Vishal Lal committed Jan 18, 2017
1 parent 50e85c1 commit a825fce
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions scripts/push.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,11 @@ tag_and_push_all() {
else
TAG=$1
fi
for m in ./docker/*/; do
REPO=${GROUP}/$(basename $m)
if [[ "$COMMIT" != "$TAG" ]]; then
docker tag ${REPO}:${COMMIT} ${REPO}:${TAG}
fi
push "$REPO:$TAG";
done;
DOCKER_REPO=${GROUP}/${REPO}
if [[ "$COMMIT" != "$TAG" ]]; then
docker tag ${DOCKER_REPO}:${COMMIT} ${DOCKER_REPO}:${TAG}
fi
push "$DOCKER_REPO:$TAG";
}

# Push snapshot when in master
Expand Down

0 comments on commit a825fce

Please sign in to comment.