This commit is contained in:
Tommy Parnell
2018-08-17 15:38:03 -04:00
parent d069417c09
commit a41f683da3

18
.circleci/config.yml Normal file
View File

@@ -0,0 +1,18 @@
version: 2
jobs:
build:
machine: true
steps:
- checkout
# start proprietary DB using private Docker image
# with credentials stored in the UI
- run: |
docker login -u $DOCKER_USER -p $DOCKER_PASS
# build the application image
- run: docker build -t terribledev/public:remote-latest .
- run: docker build -t terribledev/public:remote-$CIRCLE_SHA1 .
# deploy the image
- run: docker push terribledev/public:remote-latest
- run: docker push terribledev/public:remote-$CIRCLE_SHA1