feat: enable deploy back

This commit is contained in:
Swann 2020-10-12 20:23:08 +02:00
parent c844c6e54f
commit 6771c371a1
No known key found for this signature in database
GPG Key ID: E1D3641A7C43AACB
2 changed files with 2 additions and 10 deletions

View File

@ -6,8 +6,4 @@ build:
artifacts:
name: multi_user
paths:
- multi_user
only:
refs:
- master
- develop
- multi_user

View File

@ -15,8 +15,4 @@ deploy:
- docker build --build-arg replication_version=${RP_VERSION} --build-arg version={VERSION} -t registry.gitlab.com/slumber/multi-user/multi-user-server:${VERSION} ./scripts/docker_server
- echo "Pushing to gitlab registry ${VERSION}"
- docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
- docker push registry.gitlab.com/slumber/multi-user/multi-user-server:${VERSION}
only:
refs:
- master
- develop
- docker push registry.gitlab.com/slumber/multi-user/multi-user-server:${VERSION}