From 600cee06d09db61b7f808048c276e000dadcf32b Mon Sep 17 00:00:00 2001 From: Adar Nimrod <nimrod@shore.co.il> Date: Fri, 22 Jan 2021 21:12:56 +0200 Subject: [PATCH] Personal registry. --- .gitlab-ci.yml | 18 ++++++++++++++++++ README.md | 4 ++-- 2 files changed, 20 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f92da7b..60b049b 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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] diff --git a/README.md b/README.md index 35ececf..9b4af38 100644 --- a/README.md +++ b/README.md @@ -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. -- GitLab