Merge branch 'ci/fix-release-step-script' into 'main'

ci: fix release step script

See merge request hectorjsmith/fail2ban-prometheus-exporter!101
This commit is contained in:
Hector 2023-06-22 21:52:31 +00:00
commit f877fcb79d

View File

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