feat: find replication version

This commit is contained in:
Swann 2020-10-02 23:58:08 +02:00
parent ae3c994ff1
commit 3df73a0716
No known key found for this signature in database
GPG Key ID: E1D3641A7C43AACB

View File

@ -1,6 +1,6 @@
deploy: deploy:
stage: deploy stage: deploy
image: docker:19.03.12 image: slumber/docker-python
services: services:
- docker:19.03.12-dind - docker:19.03.12-dind
@ -8,8 +8,8 @@ deploy:
- docker info - docker info
script: script:
# - VERSION="$(python scripts/get_replication_version.py)" - VERSION="$(python scripts/get_replication_version.py)"
# - echo "Building docker image with version ${VERSION}" - 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 - 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}" - echo "Pushing to gitlab registry ${VERSION}"
- docker push registry.gitlab.com/slumber/multi-user/multi-user-server:0.1.0 - docker push registry.gitlab.com/slumber/multi-user/multi-user-server:0.1.0