feat: enable build and deploy for only master and develop

This commit is contained in:
Swann
2020-10-12 21:01:54 +02:00
parent 530fae8cb4
commit 187f11071c
3 changed files with 12 additions and 3 deletions

View File

@ -7,3 +7,7 @@ build:
name: multi_user
paths:
- multi_user
only:
refs:
- master
- develop

View File

@ -16,3 +16,8 @@ deploy:
- 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

View File

@ -1,7 +1,7 @@
# Download base image debian jessie
FROM python:slim
ARG replication_version=0.0.21a21
ARG replication_version=0.0.21
ARG version=0.1.1
# Infos