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

Add CI for auto building the ubuntu image

parent d0e77449
No related branches found
No related tags found
No related merge requests found
stages:
- build
variables:
GIT_SUBMODULE_STRATEGY: recursive
services:
- docker:dind
build-x64-ubuntu-18.04:
stage: build
tags: [ linux, docker ]
image: docker:latest
before_script:
- echo "${CI_REGISTRY_PASSWORD}" | docker login -u "${CI_REGISTRY_USER}" "${CI_REGISTRY}" --password-stdin
script:
- docker build --pull -t "${CI_REGISTRY}/${CI_PROJECT_PATH,,}:ubuntu-18.04" ubuntu-18.04
- docker push "${CI_REGISTRY}/${CI_PROJECT_PATH,,}:ubuntu-18.04"
after_script:
- docker logout "${CI_REGISTRY}"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment