Skip to content

Commit

Permalink
Fix Slack messages
Browse files Browse the repository at this point in the history
  • Loading branch information
farski committed Jun 5, 2024
1 parent 5c283ab commit 350011c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ci/src/slack-message-handler/builder.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,9 @@ export async function statusBlocks(event) {
const repoName = imageName.split(':')[0];
// The image tag (truncated), like
// 165df6a
const tag = imageName.match(/:([a-f0-9]+)$/)[1].substring(0, 7);
const tag = imageName
.match(/:(prerelease\-)?([a-f0-9]+)$/)[1]
.substring(0, 7);

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

0 comments on commit 350011c

Please sign in to comment.