Skip to content
Snippets Groups Projects
Commit 02de5683 authored by Moritz Maxeiner's avatar Moritz Maxeiner
Browse files

Workaround gitlab runner bug

gitlab-runner refuses to actually use its userns=host option making
any jobs requiring privileged mode fail. Use shell executor instead.
parent 041944ce
Branches
Tags
No related merge requests found
stages: stages:
- build - build
variables:
GIT_SUBMODULE_STRATEGY: recursive
services:
- docker:dind
build-ubuntu-18.04: build-ubuntu-18.04:
stage: build stage: build
tags: [ linux, docker, privileged ] tags: [ linux, shell ]
image: docker:latest
before_script: before_script:
- echo "${CI_REGISTRY_PASSWORD}" | docker login -u "${CI_REGISTRY_USER}" "${CI_REGISTRY}" --password-stdin - echo "${CI_REGISTRY_PASSWORD}" | docker login -u "${CI_REGISTRY_USER}" "${CI_REGISTRY}" --password-stdin
script: script:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment