Skip to content

Commit

Permalink
D4.
Browse files Browse the repository at this point in the history
  • Loading branch information
Shinsuke Nara committed Oct 6, 2017
1 parent 9541575 commit 7fd7d7c
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 @@ -10,13 +10,15 @@ jobs:
name: Build redash docker image
command: |
cd redash
docker build .
docker build -t upload-test .
- run:
name: List docker images
command: docker image list
- deploy:
name: Deploy
command: |
if [ -v "$CIRCLE_TAG" ]; then
echo Hello deployment.
docker login -u $DOCKER_USER -p $DOCKER_PASSWORD
docker tag upload-test:latest ${DOCKER_PASSWORD}/upload-test:latest
docker push ${DOCKER_PASSWORD}/upload-test:latest
fi

0 comments on commit 7fd7d7c

Please sign in to comment.