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 a985230 commit 59b52a4Copy full SHA for 59b52a4
cve_scan/action.yml
@@ -207,7 +207,7 @@ runs:
207
if [ "${TAG}" != "${{ github.event.repository.default_branch }}" ]; then
208
if [ "${TAG_TYPE}" == "release" ]; then
209
# if some specific release is defined - scan only it
210
- if echo "${TAG}"|grep -q "^[0-9]+\.[0-9]+$"; then
+ if echo "${TAG}"|grep -qE "^[0-9]+\.[0-9]+$"; then
211
module_tags=($(crane ls "${PROD_REGISTRY_MODULE_BASEDIR}/${MODULE_NAME}" | grep "^v${TAG}\.[0-9]*$" | sort -V -r | head -n 1))
212
else
213
echo "ERROR: Please specify required release in the following format: [0-9]+\.[0-9]+"
0 commit comments