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:
parent
0a132c83df
commit
8c67048868
1 changed files with 2 additions and 2 deletions
|
@ -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 \
|
||||
|
|
Loading…
Reference in a new issue