code refactor

This commit is contained in:
Ulric Qin 2021-12-07 13:50:42 +08:00
parent 4f8fedbaa0
commit 766bf9e401
1 changed files with 5 additions and 1 deletions

View File

@ -9,7 +9,11 @@ tag=$1
echo "tag: ${tag}"
rm -rf n9e && cp ../n9e . && docker build -t nightingale:${tag} .
rm -rf n9e pub
cp ../n9e .
cp -r ../pub .
docker build -t nightingale:${tag} .
docker tag nightingale:${tag} ulric2019/nightingale:${tag}
docker push ulric2019/nightingale:${tag}