Added helper script to deploy docker image
This commit is contained in:
parent
fcaf57f667
commit
4f35e2ec95
1 changed files with 4 additions and 0 deletions
4
scripts/deploy.sh
Executable file
4
scripts/deploy.sh
Executable 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
|
Loading…
Reference in a new issue