Skip to content

Commit

Permalink
fix(datasource/docker): export default config via class (#17102)
Browse files Browse the repository at this point in the history
  • Loading branch information
viceice committed Aug 10, 2022
1 parent c3e5e07 commit 7492200
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/modules/datasource/docker/index.ts
Expand Up @@ -335,7 +335,7 @@ export function isECRMaxResultsError(err: HttpError): boolean {
);
}

export const defaultConfig = {
const defaultConfig = {
commitMessageTopic: '{{{depName}}} Docker tag',
commitMessageExtra:
'to {{#if isMajor}}{{{prettyNewMajor}}}{{else}}{{{prettyNewVersion}}}{{/if}}',
Expand Down Expand Up @@ -377,6 +377,8 @@ export class DockerDatasource extends Datasource {

override readonly defaultRegistryUrls = [DOCKER_HUB];

override readonly defaultConfig = defaultConfig;

constructor() {
super(DockerDatasource.id);
}
Expand Down

0 comments on commit 7492200

Please sign in to comment.