Commit 600cee06 authored by nimrod's avatar nimrod
Browse files

Personal registry.

parent 194d3cba
Loading
Loading
Loading
Loading
Loading
+18 −0
Original line number Diff line number Diff line
@@ -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: presentation

build:
  extends: .docker-build-shore
  tags: [ns4.shore.co.il]

push:
  extends: .docker-push-shore
  tags: [ns4.shore.co.il]
+2 −2
Original line number Diff line number Diff line
@@ -7,11 +7,11 @@ Markdown or DOT).

## Usage

`docker run --rm -itv “$PWD:/volume“ adarnimrod/presentation`
`docker run --rm -itv “$PWD:/volume“ registry.shore.co.il/presentation`

Will watch the current directory and run `make` whenever a file changes. One can
add a shell alias
`alias presentation='docker run --rm -itv “$PWD:/volume“ adarnimrod/presentation'` for easier use.
`alias presentation='docker run --rm -itv “$PWD:/volume“ registry.shore.co.il/presentation'` for easier use.

See the example folder for more details.