Commit f5c868ac authored by Thong Kuah's avatar Thong Kuah
Browse files

Removes gitlab based scheme, use git tag scheme

We have decided to use normal tag scheme, and only change GitLab CE Auto
DevOps CI template as needed (rather than have that auto-increment and
risk us forgetting to release ahead of GitLab CE)
parent eb173b8f
Loading
Loading
Loading
Loading
+5 −7
Original line number Diff line number Diff line
@@ -210,8 +210,6 @@ test-create-application-secret:
  image: docker:stable
  services:
    - docker:stable-dind
  variables:
    RELEASE_IMAGE_NAME: "$CI_REGISTRY_IMAGE:$CI_JOB_NAME"
  before_script:
    - docker login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" "$CI_REGISTRY"
  script:
@@ -219,13 +217,13 @@ test-create-application-secret:
    - docker tag "$BUILD_IMAGE_NAME" "$RELEASE_IMAGE_NAME"
    - docker push "$RELEASE_IMAGE_NAME"
  only:
    - master

12-1-stable:
  extends: .release
    - tags

12-2-stable:
release-tag:
  extends: .release
  variables:
    # e.g. auto-deploy-image:v1.0.0
    RELEASE_IMAGE_NAME: "$CI_REGISTRY_IMAGE:$CI_COMMIT_REF_NAME"

before_script:
  - |