Skip to content

Commit a6f75de

Browse files
committed
Fixed regexp in notification
1 parent 368fbcf commit a6f75de

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/actions/common/func.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ slack_format_docker_image_urls_message() {
4848
# Parse the image URLs from JSON array
4949
jq --arg release_tag "$1" --arg footer "$2" '
5050
map(
51-
capture("(?<url>(?<prefix>[^:]+:)(?<version>[^-]+)-(?<commit>[a-f0-9]+)-(?<distro>[^-]+)-(?<arch>[^-]+))$")
51+
capture("(?<url>(?<prefix>[^:]+:)(?<version>[1-9][0-9]*[.][0-9]+[.][0-9]+(-[a-z0-9]+)*)-(?<commit>[a-f0-9]{40,})-(?<distro>[^-]+)-(?<arch>[^-]+))$")
5252
)
5353
as $items
5454
| {

0 commit comments

Comments
 (0)