scim/.gitlab-ci.yml
2022-08-19 11:57:51 +02:00

25 lines
482 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 CI_JOB_TOKEN \
goreleaser/goreleaser release --rm-dist