mirror of https://github.com/portainer/portainer
fix(image): github registry image truncated [EE-7021] (#11769)
parent
cd5f342da0
commit
06ef12d0ff
|
@ -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