优化 docker 构建流程
This commit is contained in:
@@ -9,8 +9,7 @@ if ($confrim -ne "y") {
|
||||
exit 0
|
||||
}
|
||||
|
||||
docker build -t repo.lanhuip.com/lanhu/admin:latest .
|
||||
docker build -t repo.lanhuip.com/lanhu/admin:$($args[0]) .
|
||||
docker build -t repo.lanhuip.com/lanhu/admin:latest -t repo.lanhuip.com/lanhu/admin:$($args[0]) .
|
||||
|
||||
docker push repo.lanhuip.com/lanhu/admin:latest
|
||||
docker push repo.lanhuip.com/lanhu/admin:$($args[0])
|
||||
|
||||
Reference in New Issue
Block a user