diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 9d1b49d..2bda374 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -20,6 +20,7 @@ variables: release: stage: release script: + - sed -i "s/__VERSION__/${CI_COMMIT_SHORT_SHA}/" src/_footer.html - docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY - docker build . -t $CONTAINER_BRANCH_IMAGE - docker push $CONTAINER_BRANCH_IMAGE @@ -29,6 +30,7 @@ release: release-master: stage: release script: + - sed -i "s/__VERSION__/${CI_COMMIT_SHORT_SHA}/" src/_footer.html - docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY - docker build . -t $CONTAINER_RELEASE_IMAGE - docker push $CONTAINER_RELEASE_IMAGE diff --git a/src/_footer.html b/src/_footer.html index 9f2298b..56446d9 100644 --- a/src/_footer.html +++ b/src/_footer.html @@ -2,7 +2,8 @@