another fix in ci script

This commit is contained in:
Wolfgang Hottgenroth 2019-02-16 18:43:08 +01:00
parent 7e1127efcf
commit bf5664b2af
Signed by: wn
GPG Key ID: B586EAFCDF2F65F4

View File

@ -28,5 +28,7 @@ deploy:
- VERSION=`cat VERSION`
- echo "Version is $VERSION"
- docker login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY
- docker stop homepage
- docker pull registry.gitlab.com/wolutator/homepage:latest
- docker restart homepage
- docker run -d --rm --name homepage -p4200:4200 registry.gitlab.com/wolutator/homepage:latest