Skip to content

Commit

Permalink
Replace 'echo docker push' with 'docker push'
Browse files Browse the repository at this point in the history
  • Loading branch information
warrenvw committed Jul 20, 2017
1 parent c1fcd92 commit bdcc4d6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions bin/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -64,11 +64,11 @@ echo tag=${tag}
for name in stackstorm; do
if [ -z ${BUILD_DEV:-} ]; then
# This is not a dev build
echo docker push stackstorm/${name}:${tag}
docker push stackstorm/${name}:${tag}

if [ "v${tag}" == "${latest}" ]; then
docker tag stackstorm/${name}:${tag} stackstorm/${name}:latest
echo docker push stackstorm/${name}:latest
docker push stackstorm/${name}:latest
else
echo "v${tag} != ${latest}"
fi
Expand All @@ -78,6 +78,6 @@ for name in stackstorm; do

# TODO: Potentially useful to prepend "dev" with revision of latest unstable
# release (e.g. "2.4dev")
echo docker push stackstorm/${name}:dev
docker push stackstorm/${name}:dev
fi
done

0 comments on commit bdcc4d6

Please sign in to comment.