Skip to content

Commit

Permalink
Fix image tag regex
Browse files Browse the repository at this point in the history
  • Loading branch information
farski committed Dec 20, 2024
1 parent 44f4c96 commit 944f3ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ci/src/slack-message-handler/builder.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ export async function statusBlocks(event) {
// The image tag (truncated), like
// 165df6a
const tag = imageName
.match(/:([a-z\-]+)?([a-f0-9]+)$/)[2]
.match(/:([a-z\-]+)?([a-f0-9_\-]+)$/)[2]
.substring(0, 7);

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

0 comments on commit 944f3ef

Please sign in to comment.