diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 01fa915..14bd07f 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -3,8 +3,12 @@ image: jdrouet/docker-with-buildx:stable variables: DOCKER_HOST: tcp://docker:2375 DOCKER_DRIVER: overlay2 - VERSION: 0.0.1 - IMAGE_TAG: $CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG-$VERSION + # Major.Minor.Release + # Major - Shouldn't change often, Big changes to the site + # Minor - starts from 0 when Major is incremented +1 for each version that goes public + # Release - For each time a development milestone is reached + VERSION: 1.0.0 + IMAGE_TAG: $CI_REGISTRY_IMAGE:$VERSION services: - docker:dind @@ -17,4 +21,3 @@ build: - docker buildx build --no-cache --platform linux/arm64,linux/amd64 -t $IMAGE_TAG --push . only: - main - - staging