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

13 lines
503 B
YAML
Raw Normal View History

2022-07-11 10:44:55 -07:00
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
2022-07-11 23:02:40 -07:00
- docker build --no-cache -t $CI_REGISTRY/jafner/docker-calibre-web/docker-calibre-web:$CI_COMMIT_SHA .
2022-07-11 23:09:58 -07:00
- docker push $CI_REGISTRY/jafner/docker-calibre-web/docker-calibre-web:$CI_COMMIT_SHORT_SHA
2022-07-11 23:08:59 -07:00
- docker push $CI_REGISTRY/jafner/docker-calibre-web/docker-calibre-web:latest