mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/ocr.git
synced 2025-01-13 18:00:33 +00:00
Update .gitlab-ci.yml
This commit is contained in:
parent
bb0eb8890b
commit
20752241f4
@ -1,15 +1,10 @@
|
|||||||
image: docker:latest
|
|
||||||
|
|
||||||
services:
|
|
||||||
- docker:dind
|
|
||||||
|
|
||||||
before_script:
|
|
||||||
- docker login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY
|
|
||||||
|
|
||||||
build:
|
build:
|
||||||
stage: build
|
image: docker:latest
|
||||||
script:
|
script:
|
||||||
- docker build --pull -t $CI_REGISTRY_IMAGE .
|
- docker login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY
|
||||||
- docker push $CI_REGISTRY_IMAGE
|
- docker build --pull -t $CI_REGISTRY_IMAGE .
|
||||||
|
- docker push $CI_REGISTRY_IMAGE
|
||||||
|
services:
|
||||||
|
- docker:dind
|
||||||
tags:
|
tags:
|
||||||
- docker
|
- docker
|
Loading…
x
Reference in New Issue
Block a user