21 lines
496 B
YAML
Raw Normal View History

2019-10-23 22:37:56 +02:00
image: docker:stable
stages:
- build
variables:
IMAGE_NAME: registry.gitlab.com/jupyter-scipy-database-extension
build:
stage: build
tags:
- hottis
- linux
- docker
script:
- VERSION=`cat VERSION`
- docker build --tag $IMAGE_NAME:$VERSION .
- docker login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY
- docker push $IMAGE_NAME:$VERSION