Commit a0e65b09 authored by Günter Hipler's avatar Günter Hipler
Browse files

Merge branch 'develop' of...

Merge branch 'develop' of gitlab.switch.ch:memoriav/memobase-2020/services/externalapis/oai into develop
parents 61386dbf 4050fd1b
Pipeline #10775 passed with stage
in 6 minutes and 27 seconds
......@@ -2,13 +2,17 @@ stages:
- test-build
- publish-image
variables:
DOCKER_TLS_CERTDIR: ""
test:
stage: test-build
except:
- master
- tags
#image: hseeberger/scala-sbt:8u252_1.3.12_2.12.11
image: hseeberger/scala-sbt:8u252_1.3.12_2.13.2
tags:
- mbr
script:
- sbt test compile
......@@ -19,7 +23,7 @@ test:
- docker:dind
script:
#- docker login -u '$CI_REGISTRY_USER' -p '$CI_REGISTRY_PASSWORD' '$REGISTRY'
- docker login -u '$CI_REGISTRY_USER' -p '$CI_REGISTRY_PASSWORD' registry.gitlab.com
- docker login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" "$CI_REGISTRY"
- docker build --pull -t "$IMAGE_TAG" .
- docker push "$IMAGE_TAG"
- docker logout
......@@ -43,4 +47,4 @@ build-develop-image:
variables:
IMAGE_TAG: "$CI_REGISTRY_IMAGE:develop"
only:
- develop
\ No newline at end of file
- develop
Supports Markdown
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