diff --git a/.gitlab/ci/deploy.gitlab-ci.yml b/.gitlab/ci/deploy.gitlab-ci.yml index 679df9d..e99d7ad 100644 --- a/.gitlab/ci/deploy.gitlab-ci.yml +++ b/.gitlab/ci/deploy.gitlab-ci.yml @@ -3,3 +3,7 @@ deploy: image: slumber/docker-python script: - VERSION="$(python scripts/get_replication_version.py)" + - echo "Building docker image with version ${VERSION}" + - docker build --no-cache --build-arg version=${VERSION} -t registry.gitlab.com/slumber/multi-user/multi-user-server:0.1.0 ./docker_server + - echo "Pushing to gitlab registry ${VERSION}" + - docker push registry.gitlab.com/slumber/multi-user/multi-user-server:0.1.0