1 Star 0 Fork 1.4K

xmcqq/MaxKey_1

forked from dromara/MaxKey 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
release_frontend_docker.bat 1.29 KB
一键复制 编辑 原始数据 按行查看 历史
MaxKeyTop 提交于 2024-10-01 12:17 . docker-compose & docker
echo off
call setEnvVars.bat
docker -v
set START_TIME="%date:~0,10% %time:~0,2%:%time:~3,5%"
echo start time %START_TIME%
rem call Set-ExecutionPolicy RemoteSigned -Scope Process
cd ./maxkey-web-frontend/maxkey-web-app
rem ng build
call ng build --base-href /maxkey/
call docker build -f Dockerfile -t %MXK_REPOSITORY%/maxkey-frontend .
rem maxkey-frontend:latest
rem push to docker hub
call docker push %MXK_REPOSITORY%/maxkey-frontend
rem maxkey-frontend:$version
call docker tag %MXK_REPOSITORY%/maxkey-frontend %MXK_REPOSITORY%/maxkey-frontend:%MXK_VERSION%
rem push to docker hub
call docker push %MXK_REPOSITORY%/maxkey-frontend:%MXK_VERSION%
cd ../../
cd ./maxkey-web-frontend/maxkey-web-mgt-app
rem ng build
call ng build --base-href /maxkey-mgt/
call docker build -f Dockerfile -t %MXK_REPOSITORY%/maxkey-mgt-frontend .
rem maxkey-mgt-frontend:latest
rem push to docker hub
call docker push %MXK_REPOSITORY%/maxkey-mgt-frontend
rem maxkey-mgt-frontend:$version
call docker tag %MXK_REPOSITORY%/maxkey-mgt-frontend %MXK_REPOSITORY%/maxkey-mgt-frontend:%MXK_VERSION%
rem push to docker hub
call docker push %MXK_REPOSITORY%/maxkey-mgt-frontend:%MXK_VERSION%
set END_TIME="%date:~0,10% %time:~0,2%:%time:~3,5%"
echo Build Release start at %START_TIME% complete at %END_TIME%.
pause
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Java
1
https://gitee.com/xmcqq/MaxKey_1.git
[email protected]:xmcqq/MaxKey_1.git
xmcqq
MaxKey_1
MaxKey_1
main

搜索帮助