scim/.gitlab-ci.yml
2022-08-19 12:21:43 +02:00

25 lines
504 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