docker-calibre-web/.gitlab-ci.yml

12 lines
387 B
YAML

build_image:
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
- docker build -t $CI_REGISTRY/jafner/docker-calibre-web/docker-calibre-web:latest .
- docker push $CI_REGISTRY/jafner/docker-calibre-web/docker-calibre-web:latest