Skip to content

Commit

Permalink
Fix pattern matching
Browse files Browse the repository at this point in the history
  • Loading branch information
farski committed Jun 6, 2024
1 parent d14e8d5 commit bfeb0d3
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 bfeb0d3

Please sign in to comment.