fix: trying to use a standard docker image

This commit is contained in:
Swann 2020-10-02 23:38:09 +02:00
parent d083100a2a
commit f054b1c5f2
No known key found for this signature in database
GPG Key ID: E1D3641A7C43AACB

View File

@ -1,9 +1,9 @@
deploy: deploy:
stage: deploy stage: deploy
image: slumber/docker-python image: docker:stable
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 --no-cache --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