mirror of
https://github.com/portainer/portainer.git
synced 2025-07-22 06:49:40 +02:00
Co-authored-by: Simon Meng <simon.meng@portainer.io>
This commit is contained in:
parent
f5aa6c4dc2
commit
ad2910f3f0
1 changed files with 1 additions and 2 deletions
|
@ -40,8 +40,7 @@ angular.module('portainer.docker').factory('ImageHelper', [
|
|||
if (registry.Registry.Type === RegistryTypes.GITLAB) {
|
||||
const slash = _.startsWith(registry.Image, ':') ? '' : '/';
|
||||
fullImageName = registry.Registry.URL + '/' + registry.Registry.Gitlab.ProjectPath + slash + registry.Image;
|
||||
}
|
||||
if (registry.Registry.Type === RegistryTypes.QUAY) {
|
||||
} else if (registry.Registry.Type === RegistryTypes.QUAY) {
|
||||
const name = registry.Registry.Quay.UseOrganisation ? registry.Registry.Quay.OrganisationName : registry.Registry.Username;
|
||||
const url = registry.Registry.URL ? registry.Registry.URL + '/' : '';
|
||||
fullImageName = url + name + '/' + registry.Image;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue