feat!: use ghcr renovate image (#753)

BREAKING CHANGE: By default the renovate image is now pulled from `ghcr.io/renovatebot/renovate`
This commit is contained in:
Michael Kriese 2023-05-25 10:36:39 +02:00 committed by GitHub
parent 53fd09be22
commit cc52092d4f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 87 additions and 79 deletions

View file

@ -1,7 +1,7 @@
import type { Input } from './input';
class Docker {
private static readonly repository = 'renovate/renovate';
private static readonly image = 'ghcr.io/renovatebot/renovate';
private readonly dockerImage: string;
private readonly fullTag: string;
@ -9,7 +9,7 @@ class Docker {
constructor(input: Input) {
const tag = input.getVersion();
this.dockerImage = input.getDockerImage() ?? Docker.repository;
this.dockerImage = input.getDockerImage() ?? Docker.image;
this.fullTag = input.useSlim()
? tag
? `${tag}-slim`