Skip to content

Commit

Permalink
fix docker login
Browse files Browse the repository at this point in the history
  • Loading branch information
edoparearyee committed Feb 22, 2016
1 parent 155be93 commit ed88277
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 11 deletions.
6 changes: 0 additions & 6 deletions .dockercfg.template

This file was deleted.

9 changes: 4 additions & 5 deletions circle.yml
Expand Up @@ -10,7 +10,7 @@ machine:
node:
version: 0.12
environment:
REPO: thisissoon/fm-frontend
REPO: quay.io/thisissoon/fm-frontend
TAG: $(sed 's/master/latest/;s/\//\-/' <<<$CIRCLE_BRANCH)

# Dependencies
Expand All @@ -34,7 +34,6 @@ test:
- grunt test
- ./tests/e2e/saucelabs.sh
post:
- sed "s/<QUAY_TOKEN>/$QUAY_TOKEN/" < .dockercfg.template > ~/.dockercfg
- ./node_modules/coveralls/bin/coveralls.js < coverage/lcov.info

# Deployment
Expand All @@ -46,18 +45,18 @@ deployment:
- grunt build --env production
- docker build -t $REPO:$TAG .
- docker tag $REPO:$TAG $REPO:prod
- docker push quay.io/$REPO:prod
- docker push $REPO:prod
qa:
branch: /release\/.*/
commands:
- grunt build --env production
- docker build -t $REPO:$TAG .
- docker tag $REPO:$TAG $REPO:qa
- docker push quay.io/$REPO:qa
- docker push $REPO:qa
latest:
branch: develop
commands:
- grunt build --env production
- docker build -t $REPO:$TAG .
- docker tag $REPO:$TAG $REPO:latest
- docker push quay.io/$REPO:latest
- docker push $REPO:latest

0 comments on commit ed88277

Please sign in to comment.