Skip to content
Snippets Groups Projects
Verified Commit 830bdea9 authored by Mark's avatar Mark
Browse files

Add gitlab CI build pipeline

parent 76591a8b
No related branches found
No related tags found
No related merge requests found
Pipeline #114 failed with stage
in 1 minute and 42 seconds
stages:
- build
consentProvider_image:
stage: build
variables:
DOCKER_DRIVER: overlay2
image: docker:stable
services:
- docker:18-dind # FIXME This is an older version of DIND. Update when gitlab-runner fixes https://gitlab.com/gitlab-org/gitlab-runner/issues/4501
before_script:
- docker info
script:
- docker login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY
- docker build -t ${CI_REGISTRY_IMAGE}/consent-provider:${CI_COMMIT_REF_NAME} consent-provider/
- docker push ${CI_REGISTRY_IMAGE}/consent-provider:${CI_COMMIT_REF_NAME}
only:
changes:
- consent-provider/*
loginProvider_image:
stage: build
variables:
DOCKER_DRIVER: overlay2
image: docker:stable
services:
- docker:18-dind # FIXME This is an older version of DIND. Update when gitlab-runner fixes https://gitlab.com/gitlab-org/gitlab-runner/issues/4501
before_script:
- docker info
script:
- docker login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY
- docker build -t ${CI_REGISTRY_IMAGE}/login-provider:${CI_COMMIT_REF_NAME} login-provider/
- docker push ${CI_REGISTRY_IMAGE}/login-provider:${CI_COMMIT_REF_NAME}
only:
changes:
- login-provider/*
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