Commit f88e2591 authored by Administrator's avatar Administrator

更新build.yml

parent 4441bd4e
......@@ -23,6 +23,9 @@ pre_test:
- echo "image=192.168.123.7:5000/${appname}:test" >> ${appname}.env
- echo "springprofile=''" >> ${appname}.env
- cat ${appname}.env
artifacts:
paths:
- ${appname}.env
pre_prod:
stage: pre_prod
......@@ -33,6 +36,9 @@ pre_prod:
- echo "image=192.168.123.7:5000/${appname}:prod" >> ${appname}.env
- echo "springprofile='--spring.profiles.active=prod'" >> ${appname}.env
- cat ${appname}.env
artifacts:
paths:
- ${appname}.env
#定义 job
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment