Commit 1dd05155 authored by nimrod's avatar nimrod
Browse files

Personal registry.

parent 89c2cf3e
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -9,14 +9,14 @@ build:
  only: ["nimrod"]
  script:
    - cid="$(basename $(cat /proc/1/cpuset))"
    - docker pull adarnimrod/presentation
    - docker pull registry.shore.co.il/presentation
    - >-
      docker run
      --rm
      --volumes-from "$cid"
      --volume "/var/www/www.shore.co.il/resume:/builds/nimrod/resume/output"
      --workdir "$PWD"
      adarnimrod/presentation
      registry.shore.co.il/presentation
      make
      DESTDIR=output
      --jobs=4
+2 −2
Original line number Diff line number Diff line
@@ -27,13 +27,13 @@ To build the pdf version (same for odt, html, docx)

.. 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

.. 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)