ci: rename jobs to use spaces instead of colon
This commit is contained in:
parent
595fc73364
commit
385fa9998b
1 changed files with 5 additions and 5 deletions
|
|
@ -6,7 +6,7 @@ stages:
|
|||
- deploy:dry-run
|
||||
- deploy
|
||||
|
||||
docker:build:
|
||||
docker build:
|
||||
stage: build
|
||||
before_script:
|
||||
- echo $CI_REGISTRY_PASSWORD | docker login -u $CI_REGISTRY_USER --password-stdin $CI_REGISTRY
|
||||
|
|
@ -15,7 +15,7 @@ docker:build:
|
|||
- docker build -t $CI_REGISTRY_IMAGE:$CI_COMMIT_BRANCH-$CI_COMMIT_SHORT_SHA .
|
||||
- docker push $CI_REGISTRY_IMAGE:$CI_COMMIT_BRANCH-$CI_COMMIT_SHORT_SHA
|
||||
|
||||
deploy:staging:dry-run:
|
||||
deploy to staging (dry-run):
|
||||
stage: deploy:dry-run
|
||||
script:
|
||||
- >
|
||||
|
|
@ -41,7 +41,7 @@ deploy:staging:dry-run:
|
|||
- if: $CI_COMMIT_BRANCH == "main"
|
||||
when: always
|
||||
|
||||
deploy:production:dry-run:
|
||||
deploy to production (dry-run):
|
||||
stage: deploy:dry-run
|
||||
script:
|
||||
- >
|
||||
|
|
@ -67,7 +67,7 @@ deploy:production:dry-run:
|
|||
- if: $CI_COMMIT_BRANCH == "production"
|
||||
when: always
|
||||
|
||||
deploy:staging:
|
||||
deploy to staging:
|
||||
stage: deploy
|
||||
script:
|
||||
- >
|
||||
|
|
@ -95,7 +95,7 @@ deploy:staging:
|
|||
- if: $CI_COMMIT_BRANCH == "main"
|
||||
when: always
|
||||
|
||||
deploy:production:
|
||||
deploy to production:
|
||||
stage: deploy
|
||||
script:
|
||||
- >
|
||||
|
|
|
|||
Reference in a new issue