From 3df73a0716f0dff5cb85e4bf0b8195e12cc7d348 Mon Sep 17 00:00:00 2001 From: Swann Date: Fri, 2 Oct 2020 23:58:08 +0200 Subject: [PATCH] feat: find replication version --- .gitlab/ci/deploy.gitlab-ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitlab/ci/deploy.gitlab-ci.yml b/.gitlab/ci/deploy.gitlab-ci.yml index 00fe3ef..2b7a501 100644 --- a/.gitlab/ci/deploy.gitlab-ci.yml +++ b/.gitlab/ci/deploy.gitlab-ci.yml @@ -1,6 +1,6 @@ deploy: stage: deploy - image: docker:19.03.12 + image: slumber/docker-python services: - docker:19.03.12-dind @@ -8,8 +8,8 @@ deploy: - docker info script: - # - VERSION="$(python scripts/get_replication_version.py)" - # - echo "Building docker image with version ${VERSION}" + - VERSION="$(python scripts/get_replication_version.py)" + - echo "Building docker image with version ${VERSION}" - docker build --build-arg version=${VERSION} -t registry.gitlab.com/slumber/multi-user/multi-user-server:0.1.0 ./scripts/docker_server - echo "Pushing to gitlab registry ${VERSION}" - docker push registry.gitlab.com/slumber/multi-user/multi-user-server:0.1.0