Skip to content
Snippets Groups Projects
Commit 7babfaba authored by Markus Frosch's avatar Markus Frosch
Browse files

Add gitlab-ci.yml

parent 600e4645
No related branches found
No related tags found
No related merge requests found
Pipeline #
image: docker:latest
services:
- docker:dind
stages:
- build
variables:
DOCKER_REGISTRY: registry.icinga.com
DOCKER_IMAGE_PREFIX: ${CI_PROJECT_PATH}/
before_script:
- docker info
- docker login -u gitlab-ci-token -p $CI_JOB_TOKEN registry.icinga.com
- apk -U add make
.build_job: &build_job
stage: build
tags:
- docker-build
script:
- make -C ${CI_JOB_NAME}
- '[ "$CI_COMMIT_REF_NAME" != master ] || make -C ${CI_JOB_NAME} push'
stretch:
<<: *build_job
jessie:
<<: *build_job
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment