Skip to content

Commit

Permalink
prefix branch tags of pushed docker images
Browse files Browse the repository at this point in the history
  • Loading branch information
jpbochi committed Sep 25, 2018
1 parent 340efc1 commit 9dac58a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ jobs:
docker build -t rackautomation/rackspace-toolbox:$CIRCLE_SHA1 -f toolbox/Dockerfile .
docker login -u $DOCKER_USER -p $DOCKER_PASS
docker push rackautomation/rackspace-toolbox:$CIRCLE_SHA1
docker tag rackautomation/rackspace-toolbox:$CIRCLE_SHA1 rackautomation/rackspace-toolbox:${CIRCLE_BRANCH//\//_}
docker push rackautomation/rackspace-toolbox:${CIRCLE_BRANCH//\//_}
docker tag rackautomation/rackspace-toolbox:$CIRCLE_SHA1 rackautomation/rackspace-toolbox:branch_${CIRCLE_BRANCH//\//_}
docker push rackautomation/rackspace-toolbox:branch_${CIRCLE_BRANCH//\//_}
test_toolbox:
docker:
Expand Down

0 comments on commit 9dac58a

Please sign in to comment.