fix(parser): resource URL should only be parsed if there is one

This commit is contained in:
peaklabs-dev
2025-01-21 18:55:07 +01:00
parent 31992f4d02
commit 1799081ebd

View File

@@ -43,9 +43,13 @@ class DockerImageParser
public function getFullImageNameWithoutTag(): string
{
if ($this->registryUrl) {
return $this->registryUrl.'/'.$this->imageName;
}
return $this->imageName;
}
public function getRegistryUrl(): string
{
return $this->registryUrl;