Skip to content
Snippets Groups Projects
Commit 1dd05155 authored by nimrod's avatar nimrod
Browse files

Personal registry.

parent 89c2cf3e
Branches
No related tags found
No related merge requests found
...@@ -9,14 +9,14 @@ build: ...@@ -9,14 +9,14 @@ build:
only: ["nimrod"] only: ["nimrod"]
script: script:
- cid="$(basename $(cat /proc/1/cpuset))" - cid="$(basename $(cat /proc/1/cpuset))"
- docker pull adarnimrod/presentation - docker pull registry.shore.co.il/presentation
- >- - >-
docker run docker run
--rm --rm
--volumes-from "$cid" --volumes-from "$cid"
--volume "/var/www/www.shore.co.il/resume:/builds/nimrod/resume/output" --volume "/var/www/www.shore.co.il/resume:/builds/nimrod/resume/output"
--workdir "$PWD" --workdir "$PWD"
adarnimrod/presentation registry.shore.co.il/presentation
make make
DESTDIR=output DESTDIR=output
--jobs=4 --jobs=4
......
...@@ -27,13 +27,13 @@ To build the pdf version (same for odt, html, docx) ...@@ -27,13 +27,13 @@ To build the pdf version (same for odt, html, docx)
.. code:: shell .. code:: shell
docker run -itv "$PWD:/project" adarnimrod/presentation make pdf docker run -itv "$PWD:/project" registry.shore.co.il/presentation make pdf
To build all versions To build all versions
.. code:: shell .. code:: shell
docker run -itv "$PWD:/project" adarnimrod/presentation make docker run -itv "$PWD:/project" registry.shore.co.il/presentation make
To upload to webserver (includes rebuilding all versions) To upload to webserver (includes rebuilding all versions)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment