Skip to content

Commit

Permalink
Fixed regexps for aleph-node-image
Browse files Browse the repository at this point in the history
  • Loading branch information
Marcin-Radecki committed Nov 29, 2023
1 parent 3da5e32 commit b0dba63
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/_featurenet-create.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ jobs:
echo '!!! Invalid featurenet name'
exit 1
fi
if [[ ! '${{ inputs.aleph-node-image }}' =~ ^[a-z0-9][a-z0-9\.]{1,48}$ ]]; then
if [[ ! '${{ inputs.aleph-node-image }}' =~ ^[a-z0-9][a-z0-9\.\-_]{1,48}$ ]]; then
echo "!!! Invalid aleph-node image"
exit 1
fi
Expand Down
2 changes: 1 addition & 1 deletion create-featurenet/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ runs:
exit 1
fi
if [[
! '${{ inputs.featurenet-aleph-node-image }}' =~ ^[a-z0-9][a-z0-9\.]{1,48}$
! '${{ inputs.featurenet-aleph-node-image }}' =~ ^[a-z0-9][a-z0-9\.\-_]{1,48}$
]]
then
echo "!!! Invalid featurenet node image tag"
Expand Down

0 comments on commit b0dba63

Please sign in to comment.