diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f996862..b65af1a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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: - >