Skip to content

Commit 944f3ef

Browse files
committed
Fix image tag regex
1 parent 44f4c96 commit 944f3ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ci/src/slack-message-handler/builder.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ export async function statusBlocks(event) {
106106
// The image tag (truncated), like
107107
// 165df6a
108108
const tag = imageName
109-
.match(/:([a-z\-]+)?([a-f0-9]+)$/)[2]
109+
.match(/:([a-z\-]+)?([a-f0-9_\-]+)$/)[2]
110110
.substring(0, 7);
111111

112112
const ecrUrl = `https://${region}.console.aws.amazon.com/ecr/repositories/private/${accountId}/${repoName}?region=${region}`;

0 commit comments

Comments
 (0)