renovate/lib/config/presets/internal/docker.ts
2020-05-07 12:25:39 +02:00

42 lines
803 B
TypeScript

import { Preset } from '../common';
export const presets: Record<string, Preset> = {
disable: {
description: 'Disable docker updates',
docker: {
enabled: false,
},
'docker-compose': {
enabled: false,
},
circleci: {
enabled: false,
},
},
enableMajor: {
description: 'Enable docker major updates',
packageRules: [
{
datasources: ['docker'],
updateTypes: ['major'],
enabled: true,
},
],
},
disableMajor: {
description: 'Disable docker major updates',
packageRules: [
{
datasources: ['docker'],
updateTypes: ['major'],
enabled: false,
},
],
},
pinDigests: {
description: 'Pin Docker digests',
docker: {
pinDigests: true,
},
},
};