scim/.gitlab-ci.yml
2022-08-19 13:31:11 +02:00

18 lines
448 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=$CI_JOB_TOKEN goreleaser/goreleaser release --rm-dist --debug