Commit a88111d8 authored by Administrator's avatar Administrator

更新build.yml

parent 8124880f
...@@ -13,7 +13,7 @@ pre_test: ...@@ -13,7 +13,7 @@ pre_test:
only: only:
- test - test
script: script:
- k8sappname=${appname} + '-test' - k8sappname="${appname}-test"
- image=192.168.123.7:5000/${appname}:test - image=192.168.123.7:5000/${appname}:test
- springprofile='' - springprofile=''
...@@ -22,7 +22,7 @@ pre_prod: ...@@ -22,7 +22,7 @@ pre_prod:
only: only:
- master - master
script: script:
- 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'
......
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