Skip to content

Commit

Permalink
fix(image): github registry image truncated [EE-7021] (#11768)
Browse files Browse the repository at this point in the history
  • Loading branch information
oscarzhou-portainer committed May 9, 2024
1 parent 1fce2b8 commit 680cb3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/react/docker/images/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 680cb3b

Please sign in to comment.