From 4f35e2ec95e710087e6dad347c251ad21ccd2b52 Mon Sep 17 00:00:00 2001 From: Kadin Buckton Date: Thu, 10 Oct 2019 13:55:30 -0400 Subject: [PATCH] Added helper script to deploy docker image --- scripts/deploy.sh | 4 ++++ 1 file changed, 4 insertions(+) create mode 100755 scripts/deploy.sh diff --git a/scripts/deploy.sh b/scripts/deploy.sh new file mode 100755 index 0000000..ddd68f6 --- /dev/null +++ b/scripts/deploy.sh @@ -0,0 +1,4 @@ +#!/bin/sh +docker build -t $IMAGE_NAME . \ +&& echo $DOCKERHUB_PASSWORD | docker login -u $DOCKERHUB_USERNAME --password-stdin \ +&& docker push $IMAGE_NAME:latest