更新ci/cd

This commit is contained in:
chenwj113 2023-02-16 09:55:37 +08:00
parent 9a55c82e1b
commit 6559008288
1 changed files with 2 additions and 3 deletions

View File

@ -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: