calibre-web/.gitlab-ci.yml

13 lines
489 B
YAML
Raw Normal View History

build_image:
2022-07-12 01:12:45 -07:00
retry: 2
image: docker
stage: build
services:
- docker:dind
script:
- echo $CI_REGISTRY_USER
- echo $CI_REGISTRY
- docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
2022-07-12 15:39:18 -07:00
- docker build --no-cache -t $CI_REGISTRY/jafner/calibre-web/calibre-web:$CI_COMMIT_BRANCH-$CI_COMMIT_SHORT_SHA -t $CI_REGISTRY/jafner/calibre-web/calibre-web:$CI_COMMIT_BRANCH-latest .
- docker push $CI_REGISTRY/jafner/calibre-web/calibre-web --all-tags