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:dry-run
|
||||||
- deploy
|
- deploy
|
||||||
|
|
||||||
docker:build:
|
docker build:
|
||||||
stage: build
|
stage: build
|
||||||
before_script:
|
before_script:
|
||||||
- echo $CI_REGISTRY_PASSWORD | docker login -u $CI_REGISTRY_USER --password-stdin $CI_REGISTRY
|
- 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 build -t $CI_REGISTRY_IMAGE:$CI_COMMIT_BRANCH-$CI_COMMIT_SHORT_SHA .
|
||||||
- docker push $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
|
stage: deploy:dry-run
|
||||||
script:
|
script:
|
||||||
- >
|
- >
|
||||||
|
|
@ -41,7 +41,7 @@ deploy:staging:dry-run:
|
||||||
- if: $CI_COMMIT_BRANCH == "main"
|
- if: $CI_COMMIT_BRANCH == "main"
|
||||||
when: always
|
when: always
|
||||||
|
|
||||||
deploy:production:dry-run:
|
deploy to production (dry-run):
|
||||||
stage: deploy:dry-run
|
stage: deploy:dry-run
|
||||||
script:
|
script:
|
||||||
- >
|
- >
|
||||||
|
|
@ -67,7 +67,7 @@ deploy:production:dry-run:
|
||||||
- if: $CI_COMMIT_BRANCH == "production"
|
- if: $CI_COMMIT_BRANCH == "production"
|
||||||
when: always
|
when: always
|
||||||
|
|
||||||
deploy:staging:
|
deploy to staging:
|
||||||
stage: deploy
|
stage: deploy
|
||||||
script:
|
script:
|
||||||
- >
|
- >
|
||||||
|
|
@ -95,7 +95,7 @@ deploy:staging:
|
||||||
- if: $CI_COMMIT_BRANCH == "main"
|
- if: $CI_COMMIT_BRANCH == "main"
|
||||||
when: always
|
when: always
|
||||||
|
|
||||||
deploy:production:
|
deploy to production:
|
||||||
stage: deploy
|
stage: deploy
|
||||||
script:
|
script:
|
||||||
- >
|
- >
|
||||||
|
|
|
||||||
Reference in a new issue