refactor(ci): update job tags
This commit is contained in:
parent
e0a313dc18
commit
2582085925
@ -9,6 +9,8 @@ variables:
|
||||
# define the build stage
|
||||
build_stage:
|
||||
stage: build
|
||||
tags:
|
||||
- docker
|
||||
# use node docker image as enviroment
|
||||
image: node:latest
|
||||
script:
|
||||
@ -25,6 +27,8 @@ build_stage:
|
||||
# define the deploy stages
|
||||
deploy_staging:
|
||||
stage: deploy
|
||||
tags:
|
||||
- docker
|
||||
resource_group: staging
|
||||
needs:
|
||||
- build_stage
|
||||
@ -46,6 +50,8 @@ deploy_staging:
|
||||
- tags
|
||||
deploy_production:
|
||||
stage: deploy
|
||||
tags:
|
||||
- docker
|
||||
needs:
|
||||
- build_stage
|
||||
resource_group: production
|
||||
|
Loading…
Reference in New Issue
Block a user