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
1 changed files with 4 additions and 0 deletions

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