From adf7eef0609f468fe6215bc5735f3404f1f3a519 Mon Sep 17 00:00:00 2001 From: Deon George Date: Sun, 23 Jul 2017 19:23:14 +1000 Subject: [PATCH] Testing gitlab-ci variables --- .gitlab-ci.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 477f523..45d3afd 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -5,7 +5,8 @@ stages: - build variables: - VERSION: ${CI_COMMIT_TAG:-latest} + VERSION: latest + AUTO_VERSION: ${CI_COMMIT_TAG:-latest} CACHETAG: build DOCKER_REGISTRY: registry.leenooks.net DOCKER_HOST: tcp://${DOCKER_REGISTRY}-leenooks-ci-docker:2375 @@ -19,6 +20,7 @@ before_script: - docker login -u gitlab-ci-token -p $CI_BUILD_TOKEN ${DOCKER_REGISTRY} - echo "CI_PROJECT_PATH ${CI_PROJECT_PATH} CI_COMMIT_TAG ${CI_COMMIT_TAG} CI_COMMIT_REF_NAME ${CI_COMMIT_REF_NAME}" - echo "CI_REGISTRY ${CI_REGISTRY} CI_REGISTRY_IMAGE ${CI_REGISTRY_IMAGE} CI ${CI}" +- echo "AUTO_VERSION ${AUTO_VERSION}" test: stage: test