Add script to build and push image to docker hub

This commit is contained in:
Khue Doan 2020-06-25 15:50:28 +07:00
parent dbf56d0930
commit 4964f7f6ea
2 changed files with 12 additions and 0 deletions

6
scripts/docker-build.sh Executable file
View File

@ -0,0 +1,6 @@
#!/bin/sh
docker build -t khuedoan/khuedoan.com-nginx nginx/
docker build -t khuedoan/khuedoan.com-index index/
docker build -t khuedoan/khuedoan.com-gitea gitea/
docker build -t khuedoan/khuedoan.com-mariadb mariadb/

6
scripts/docker-push.sh Executable file
View File

@ -0,0 +1,6 @@
#!/bin/sh
docker push khuedoan/khuedoan.com-nginx
docker push khuedoan/khuedoan.com-index
docker push khuedoan/khuedoan.com-gitea
docker push khuedoan/khuedoan.com-mariadb