mirror of
https://github.com/portainer/portainer.git
synced 2025-07-30 18:59:41 +02:00
fix(image): github registry image truncated [EE-7021] (#11769)
This commit is contained in:
parent
cd5f342da0
commit
06ef12d0ff
1 changed files with 1 additions and 1 deletions
|
@ -81,7 +81,7 @@ function buildImageFullURIWithRegistry(image: string, registry: Registry) {
|
||||||
}
|
}
|
||||||
|
|
||||||
function buildImageURIForGithub(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
|
const namespace = registry.Github.UseOrganisation
|
||||||
? registry.Github.OrganisationName
|
? registry.Github.OrganisationName
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue