.gitlab-ci.yml 426 Bytes
Newer Older
1
image: docker:git
2

3 4
services:
- docker:dind
Nicolas Thiéry's avatar
Nicolas Thiéry committed
5

6 7 8 9 10 11 12 13
before_script:
  - docker login -u gitlab-ci-token -p $CI_REGISTRY_PASSWORD $CI_REGISTRY

after_script:
  - 'docker logout $CI_REGISTRY'

build-image:
  stage: build #and stage
Marco Leoni's avatar
Marco Leoni committed
14
  script:
15 16 17
   - docker pull jupyter/tensorflow-notebook
   - docker build -t gitlab-registry.in2p3.fr/jupyterhub-paris-saclay/image .
   - docker push gitlab-registry.in2p3.fr/jupyterhub-paris-saclay/image