1
This repository has been archived on 2022-11-04. You can view files and clone it, but cannot push or open issues or pull requests.
tdlib-golangci/.gitlab-ci.yml
2019-03-02 16:19:55 +04:00

26 lines
477 B
YAML

image: docker:stable
variables:
DOCKER_HOST: tcp://docker:2375/
DOCKER_DRIVER: overlay2
CONTAINER_NAME: lab.wtfteam.pro:4567/containers/tdlib-go
services:
- docker:dind
stages:
- build
before_script:
- docker login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY
build:
stage: build
script:
- source ci/set_docker_tag.sh
- docker build -t $CONTAINER_NAME:$DOCKER_TAG .
- docker push $CONTAINER_NAME:$DOCKER_TAG
only:
- tags
- master