更新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
K8S_NS: default
DEPLOYMENT_NAME: fastapi-app-template
TAG: master
before_script:
- PATH=.:$PATH
@ -17,7 +16,7 @@ stages:
build-staging:dep:
stage: build
only:
- $TAG
- master
tags:
- master
script:
@ -30,7 +29,7 @@ build-staging:dep:
deploy-staging:dep:
stage: deploy
only:
- $TAG
- master
tags:
- master
script: