diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f802b1a..0752f67 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -43,8 +43,7 @@ push tag: script: - docker pull $CI_REGISTRY_IMAGE:$CI_COMMIT_SHA - docker tag $CI_REGISTRY_IMAGE:$CI_COMMIT_SHA $CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG - - docker push $CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG -REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG + - docker push $CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG # Docker Deploy # Not currently in use, here for posterity. @@ -70,16 +69,16 @@ REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG # Helm Deploy # Currently in use, works with *Magic* deploy: -stage: deploy -image: + stage: deploy + image: name: alpine/helm:latest entrypoint: [""] -script: + script: - helm upgrade - --install - --wait - --set image.tag=${CI_COMMIT_SHA} - simple-blog-api-${CI_COMMIT_REF_SLUG} - devops/simple-blog-api -environment: - name: production \ No newline at end of file + --install + --wait + --set image.tag=${CI_COMMIT_SHA} + simple-blog-api-${CI_COMMIT_REF_SLUG} + devops/simple-blog-api + environment: + name: production