Skip to content

Commit

Permalink
Merge PR #3684: Add tags for every version in docker repo
Browse files Browse the repository at this point in the history
  • Loading branch information
sabau authored and jackzampolin committed Feb 19, 2019
1 parent e39debd commit 95710f1
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -326,13 +326,15 @@ jobs:
GAIAD_VERSION="stable"
elif [ "${CIRCLE_BRANCH}" == "develop" ]; then
GAIAD_VERSION="develop"
else
GAIAD_VERSION=`/tmp/workspace/bin/gaiad version`
fi
docker build -t tendermint/gaia:$GAIAD_VERSION .
docker login -u $DOCKER_USER -p $DOCKER_PASS
docker push tendermint/gaia:$GAIAD_VERSION
# Push the tag also for the version, so clients can build up on top of it
GAIAD_VERSION=`/tmp/workspace/bin/gaiad version`
docker push tendermint/gaia:$GAIAD_VERSION
workflows:
version: 2
test-suite:
Expand Down

0 comments on commit 95710f1

Please sign in to comment.