Chore: set tags for stages
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
prepare_job:
|
||||
stage: build # This stage must run before the release stage
|
||||
tags:
|
||||
- docker
|
||||
rules:
|
||||
- if: $CI_COMMIT_TAG
|
||||
when: never # Do not run this job when a tag is created manually
|
||||
@@ -13,6 +15,8 @@ prepare_job:
|
||||
|
||||
release_job:
|
||||
stage: deploy
|
||||
tags:
|
||||
- docker
|
||||
image: registry.gitlab.com/gitlab-org/release-cli:latest
|
||||
needs:
|
||||
- job: prepare_job
|
||||
|
||||
Reference in New Issue
Block a user