Skip to content

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.

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

peaklabs-dev1799081ebd7d
diff --git a/app/Services/DockerImageParser.php b/app/Services/DockerImageParser.php
index 4987f953d3..1fd6625b32 100644
--- a/app/Services/DockerImageParser.php
+++ b/app/Services/DockerImageParser.php
@@ -43,7 +43,11 @@ class DockerImageParser
public function getFullImageNameWithoutTag(): string
{
- return $this->registryUrl.'/'.$this->imageName;
+ if ($this->registryUrl) {
+ return $this->registryUrl.'/'.$this->imageName;
+ }
+
+ return $this->imageName;
}
public function getRegistryUrl(): string