37 lines
841 B
Bash
Executable File
37 lines
841 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -ex
|
|
|
|
# cms_ubuntu use nvm docker image
|
|
cd ../005_references/nvm
|
|
# docker build -t 192.168.10.61:5000/nvm_ubuntu:latest .
|
|
# docker tag nvm_ubuntu 192.168.10.61:5000/nvm_ubuntu
|
|
|
|
# docker build -t nvm_ubuntu:latest .
|
|
# docker run -it nvm_ubuntu:latest bash
|
|
# docker run -it 192.168.10.61:5000/nvm_ubuntu:latest bash
|
|
cd -
|
|
|
|
cd ./cms
|
|
docker build -t 192.168.10.61:5000/cms_ubuntu:latest .
|
|
cd -
|
|
|
|
# ionic_mobile
|
|
cd ./ionic_mobile
|
|
docker build -t 192.168.10.61:5000/ionic_mobile_ubuntu:latest .
|
|
cd -
|
|
|
|
# api_ts
|
|
cd ./api_ts
|
|
docker build -t 192.168.10.61:5000/api_ts_ubuntu:latest .
|
|
cd -
|
|
|
|
# # pocketbase
|
|
|
|
# echo "done"
|
|
|
|
docker push 192.168.10.61:5000/nvm_ubuntu:latest
|
|
docker push 192.168.10.61:5000/cms_ubuntu:latest
|
|
docker push 192.168.10.61:5000/api_ts_ubuntu:latest
|
|
docker push 192.168.10.61:5000/ionic_mobile_ubuntu:latest
|