Updates in travis to do a push to docker hub, so our code can be deployed to various environments.

This commit is contained in:
Dan Funk 2020-02-05 15:53:52 -05:00
parent f913107d2e
commit 087982e4c4
3 changed files with 15 additions and 1 deletions

View File

@ -2,6 +2,7 @@ language: python
services:
- postgresql
- docker
python:
- "3.7"
@ -17,4 +18,10 @@ install:
# command to run tests
script:
- pytest
- pytest
deploy:
provider: script
script: bash docker_push
on:
branch: master

View File

@ -1,3 +1,7 @@
# CrConnectFrontend
[![Build Status](https://travis-ci.com/sartography/cr-connect-workflow.svg?branch=master)](https://travis-ci.com/sartography/cr-connect-workflow)
# CR Connect Workflow Microservice
## Development Setup
### Tools

3
docker_push.sh Normal file
View File

@ -0,0 +1,3 @@
#!/bin/bash
echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
docker push sartography/cr-connect-workflow