Skip to content
Snippets Groups Projects
Commit 5e56d93d authored by nimrod's avatar nimrod
Browse files

Personal Docker registry.

parent 3a653fd1
Branches
No related tags found
No related merge requests found
Pipeline #522 passed
......@@ -2,3 +2,21 @@
include:
- project: shore/ci-templates
file: templates/pre-commit.yml
- project: shore/ci-templates
file: templates/docker.yml
stages:
- test
- build
- deploy
variables:
IMAGE: cgit
build:
extends: .docker-build-shore
tags: [ns4.shore.co.il]
push:
extends: .docker-push-shore
tags: [ns4.shore.co.il]
......@@ -4,10 +4,8 @@ version: '3.5'
services:
cgit:
build:
# cache_from:
# - adarnimrod/cgit
context: .
# image: adarnimrod/cgit
image: registry.shore.co.il/cgit
restart: always
volumes:
- /var/lib/git:/srv/git:ro
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment