Docker Runner

container-registry

A container registry is a storage to hold docker images which can be used in the private and public docker runners. See GitLab Container Registry for details.

example1: use own image from container registry at jsc gitlab

This example uses an image with an OpenSUSE linux. It is created here: https://gitlab.version.fz-juelich.de/sharedrunner/opensuse

test:
  image: gitlab.version.fz-juelich.de:5555/sharedrunner/opensuse
  tags:
  - public-docker
  script:
  - uname -a

You may create your own docker image by creating a project https://gitlab.version.fz-juelich.de/username/projectname with enabled GitLab Container Registry. The image will be available here: gitlab.version.fz-juelich.de:5555/username/projectname.

example2: use image from DuckerHub jojomi/hugo

The Hugo image is used to create this documentation. See Hugo example for more detailed imformation.

pages:
  image: jojomi/hugo
  tags:
  - public-docker
  script:
  - hugo version
  - hugo
   artifacts:
     paths:
     - public