From c8a6ea4978bf578bc1863d43fecf7312039bf371 Mon Sep 17 00:00:00 2001 From: Aaron Louie Date: Thu, 6 Feb 2020 22:12:33 -0500 Subject: [PATCH] Pushes docker image --- .travis.yml | 5 +++++ docker/docker_push.sh | 3 +++ 2 files changed, 8 insertions(+) create mode 100755 docker/docker_push.sh diff --git a/.travis.yml b/.travis.yml index d49a2da..d4b4dba 100644 --- a/.travis.yml +++ b/.travis.yml @@ -15,3 +15,8 @@ install: - npm install script: - npm run ci +deploy: + provider: script + script: bash ./docker/docker_push.sh + on: + branch: master diff --git a/docker/docker_push.sh b/docker/docker_push.sh new file mode 100755 index 0000000..fdb4237 --- /dev/null +++ b/docker/docker_push.sh @@ -0,0 +1,3 @@ +#!/bin/bash +echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin +docker push sartography/cr-connect-bpmn