Commit 8ac1133f authored by Matthias Rüster's avatar Matthias Rüster
Browse files

Add configuration for GitLab CI

parent de5bd4af
Pipeline #17609 failed with stages
in 19 seconds
stages:
- test
- deploy-image
check_compile:
image: alpine:3.11.6
stage: test
tags:
- group
before_script:
- apk add --update curl make g++
script:
- make
gitlab_deploy:
stage: deploy-image
tags:
- group
only:
- tags
before_script:
- docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
script:
- docker build --tag "${CI_REGISTRY_IMAGE}/$image:${CI_COMMIT_TAG}" .
- docker push "${CI_REGISTRY_IMAGE}/$image:${CI_COMMIT_TAG}"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment