更新ci/cd
This commit is contained in:
parent
9a55c82e1b
commit
6559008288
|
|
@ -4,7 +4,6 @@ variables:
|
||||||
LATEST_VERSION: latest
|
LATEST_VERSION: latest
|
||||||
K8S_NS: default
|
K8S_NS: default
|
||||||
DEPLOYMENT_NAME: fastapi-app-template
|
DEPLOYMENT_NAME: fastapi-app-template
|
||||||
TAG: master
|
|
||||||
|
|
||||||
before_script:
|
before_script:
|
||||||
- PATH=.:$PATH
|
- PATH=.:$PATH
|
||||||
|
|
@ -17,7 +16,7 @@ stages:
|
||||||
build-staging:dep:
|
build-staging:dep:
|
||||||
stage: build
|
stage: build
|
||||||
only:
|
only:
|
||||||
- $TAG
|
- master
|
||||||
tags:
|
tags:
|
||||||
- master
|
- master
|
||||||
script:
|
script:
|
||||||
|
|
@ -30,7 +29,7 @@ build-staging:dep:
|
||||||
deploy-staging:dep:
|
deploy-staging:dep:
|
||||||
stage: deploy
|
stage: deploy
|
||||||
only:
|
only:
|
||||||
- $TAG
|
- master
|
||||||
tags:
|
tags:
|
||||||
- master
|
- master
|
||||||
script:
|
script:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue