Added helper script to deploy docker image

This commit is contained in:
Kadin Buckton 2019-10-10 13:55:30 -04:00
parent fcaf57f667
commit 4f35e2ec95

4
scripts/deploy.sh Executable file
View file

@ -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