yadyn/.gitlab-ci.yml
2019-11-27 14:49:46 +00:00

21 lines
479 B
YAML

image: docker:stable
stages:
- build
variables:
IMAGE_NAME: registry.gitlab.com/wolutator/yadyn
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