We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 49a6e7e commit ea4aee6Copy full SHA for ea4aee6
1 file changed
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