We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dbb6758 commit a377698Copy full SHA for a377698
templates/CVE_Scan.gitlab-ci.yml
@@ -76,6 +76,9 @@
76
# prepare TAG if it was triggered with CI_COMMIT_TAG
77
if [ -n "${CI_COMMIT_TAG}" ]; then
78
TAG=$(echo "${TAG}"| sed 's/^v//' | cut -d '.' -f -2)
79
+ else
80
+ # if not - replace / with -
81
+ TAG=$(echo "${TAG}"| sed -e 's/\//-/g')
82
fi
83
module_tags=("${TAG}")
84
0 commit comments