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}`;