From af75ec25084d67c6239302ccf6dd1cbe1eec40ef Mon Sep 17 00:00:00 2001 From: Johannes Feichtner Date: Sat, 3 Sep 2022 12:50:46 +0200 Subject: [PATCH] fix(datasource/docker): pinDigest PRs missing digest value in name (#17599) Co-authored-by: Michael Kriese --- lib/modules/datasource/docker/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/modules/datasource/docker/index.ts b/lib/modules/datasource/docker/index.ts index 7a1c7f1341..65a87195e2 100644 --- a/lib/modules/datasource/docker/index.ts +++ b/lib/modules/datasource/docker/index.ts @@ -343,7 +343,7 @@ export function isECRMaxResultsError(err: HttpError): boolean { const defaultConfig = { commitMessageTopic: '{{{depName}}} Docker tag', commitMessageExtra: - 'to {{#if isMajor}}{{{prettyNewMajor}}}{{else}}{{{prettyNewVersion}}}{{/if}}', + 'to {{#if isPinDigest}}{{{newDigestShort}}}{{else}}{{#if isMajor}}{{{prettyNewMajor}}}{{else}}{{{prettyNewVersion}}}{{/if}}{{/if}}', digest: { branchTopic: '{{{depNameSanitized}}}-{{{currentValue}}}', commitMessageExtra: 'to {{newDigestShort}}',