scim/.gitlab-ci.yml

18 lines
426 B
YAML

stages:
- release
release:
stage: release
image: docker:stable
services:
- docker:dind
variables:
GIT_DEPTH: 0
WORKDIR: /go/src/lab.libreho.st/libre.sh/scim/scim
only:
refs:
- tags
script: docker run --rm --privileged -v $PWD:$WORKDIR -w $WORKDIR -v /var/run/docker.sock:/var/run/docker.sock -e DOCKER_USERNAME -e DOCKER_PASSWORD -e GITLAB_TOKEN goreleaser/goreleaser release --rm-dist