.gitlab-ci.yml: install git before usage

This commit is contained in:
Adhityaa Chandrasekar 2018-09-27 17:11:57 -04:00
parent a793f7b3b4
commit 800ba5dd0d

View File

@ -100,5 +100,6 @@ docker-registry-tags:
before_script: before_script:
- docker login -u gitlab-ci-token -p $CI_JOB_TOKEN registry.gitlab.com - docker login -u gitlab-ci-token -p $CI_JOB_TOKEN registry.gitlab.com
script: script:
- apk add git
- docker build --tag registry.gitlab.com/commento/commento-ce:$(git describe --tags) . - docker build --tag registry.gitlab.com/commento/commento-ce:$(git describe --tags) .
- docker push registry.gitlab.com/commento/commento-ce:$(git describe --tags) - docker push registry.gitlab.com/commento/commento-ce:$(git describe --tags)