diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 197d6ea..2b3d43d 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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