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

Personal Docker registry.

parent 3a653fd1
No related branches found
No related tags found
No related merge requests found
Pipeline #522 passed
...@@ -2,3 +2,21 @@ ...@@ -2,3 +2,21 @@
include: include:
- project: shore/ci-templates - project: shore/ci-templates
file: templates/pre-commit.yml 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' ...@@ -4,10 +4,8 @@ version: '3.5'
services: services:
cgit: cgit:
build: build:
# cache_from:
# - adarnimrod/cgit
context: . context: .
# image: adarnimrod/cgit image: registry.shore.co.il/cgit
restart: always restart: always
volumes: volumes:
- /var/lib/git:/srv/git:ro - /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