Commit 4df194a0 authored by Administrator's avatar Administrator

更新build.yml

parent a88111d8
...@@ -16,6 +16,7 @@ pre_test: ...@@ -16,6 +16,7 @@ pre_test:
- k8sappname="${appname}-test" - k8sappname="${appname}-test"
- image=192.168.123.7:5000/${appname}:test - image=192.168.123.7:5000/${appname}:test
- springprofile='' - springprofile=''
- echo ${k8sappname}${image}${springprofile}
pre_prod: pre_prod:
stage: pre_prod stage: pre_prod
...@@ -25,6 +26,7 @@ pre_prod: ...@@ -25,6 +26,7 @@ pre_prod:
- k8sappname="${appname}-prod" - k8sappname="${appname}-prod"
- image=192.168.123.7:5000/${appname}:prod - image=192.168.123.7:5000/${appname}:prod
- springprofile='--spring.profiles.active=prod' - springprofile='--spring.profiles.active=prod'
- echo ${k8sappname}${image}${springprofile}
# 定义 job # 定义 job
build: build:
......
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