From 17cfbaf153243eea97fcfb59072c53fd76ffe30c Mon Sep 17 00:00:00 2001 From: Chris Kalafarski Date: Fri, 20 Dec 2024 19:33:14 -0500 Subject: [PATCH] Add missing index --- ci/src/slack-message-handler/builder.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci/src/slack-message-handler/builder.mjs b/ci/src/slack-message-handler/builder.mjs index 4020df87..a36b9540 100644 --- a/ci/src/slack-message-handler/builder.mjs +++ b/ci/src/slack-message-handler/builder.mjs @@ -109,7 +109,7 @@ export async function statusBlocks(event) { // The image tag (truncated), like // 165df6a const tag = imageName - .match(/:([a-z\-]+)?([a-f0-9]+)(-[a-z0-9_]+)?$/) + .match(/:([a-z\-]+)?([a-f0-9]+)(-[a-z0-9_]+)?$/)[2] .substring(0, 7); const ecrUrl = `https://${region}.console.aws.amazon.com/ecr/repositories/private/${accountId}/${repoName}?region=${region}`;