Should now build funkwhale docker container and push it to docker hub

merge-requests/154/head
Eliot Berriot 2017-06-26 19:48:09 +02:00
rodzic f977f3a3b7
commit 368937c422
1 zmienionych plików z 15 dodań i 0 usunięć

Wyświetl plik

@ -1,6 +1,7 @@
stages:
- test
- build
- deploy
test_api:
stage: test
@ -56,3 +57,17 @@ pages:
- develop
tags:
- docker
docker_image:
stage: test
before_script:
- docker login -u $DOCKER_USERNAME -p $DOCKER_PASSWORD
- cd api
script:
- docker build -t funkwhale/funkwhale:$CI_COMMIT_REF_NAME .
- docker push funkwhale/funkwhale:$CI_COMMIT_REF_NAME
only:
- develop
- master
tags:
- dind