Pushes docker image

This commit is contained in:
Aaron Louie 2020-02-06 22:12:33 -05:00
parent 26eda7cc8a
commit c8a6ea4978
2 changed files with 8 additions and 0 deletions

View File

@ -15,3 +15,8 @@ install:
- npm install - npm install
script: script:
- npm run ci - npm run ci
deploy:
provider: script
script: bash ./docker/docker_push.sh
on:
branch: master

3
docker/docker_push.sh Executable file
View File

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