ci: fix release step script (!101)

* Fix the yaml config for the release step to handle a multi-line command

https://gitlab.com/hectorjsmith/fail2ban-prometheus-exporter/-/merge_requests/101
This commit is contained in:
Hector 2023-06-22 21:52:31 +00:00
parent 0a132c83df
commit 8c67048868

View File

@ -54,8 +54,8 @@ release:
GIT_DEPTH: 0
rules:
- if: $CI_COMMIT_TAG =~ /^v.*$/
script:
- docker run --rm --privileged \
script: |
docker run --rm --privileged \
-v $PWD:/go/src/gitlab.com/hectorjsmith/fail2ban-prometheus-exporter \
-w /go/src/gitlab.com/hectorjsmith/fail2ban-prometheus-exporter \
-v /var/run/docker.sock:/var/run/docker.sock \