fix(image): github registry image truncated [EE-7021] (#11767)
parent
24e0318280
commit
2745e63527
|
@ -81,7 +81,7 @@ function buildImageFullURIWithRegistry(image: string, registry: Registry) {
|
|||
}
|
||||
|
||||
function buildImageURIForGithub(image: string, registry: Registry) {
|
||||
const imageName = image.split('/').pop();
|
||||
const imageName = image.startsWith('/') ? image.slice(1) : image;
|
||||
|
||||
const namespace = registry.Github.UseOrganisation
|
||||
? registry.Github.OrganisationName
|
||||
|
|
Loading…
Reference in New Issue