.gitlab-ci.yml: install git before usage
This commit is contained in:
parent
a793f7b3b4
commit
800ba5dd0d
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user