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