feat: find replication version
This commit is contained in:
parent
ae3c994ff1
commit
3df73a0716
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user