Commit aa216ec2 authored by Guilhem Saurel's avatar Guilhem Saurel
Browse files

fix get_image_url wrt get_image_name

parent 67a49208
Pipeline #794 passed with stages
in 1 minute and 8 seconds
......@@ -625,7 +625,7 @@ class Image(models.Model):
def get_image_url(self):
project = self.robotpkg.project
manifest = str(self).replace(':', '/manifests/')
return f'https://{project.registry()}/v2/{project.main_namespace.slug}/{manifest}'
return f'https://{project.registry()}/v2/{project.main_namespace.slug}/{project}/{manifest}'
def get_job_name(self):
return f'robotpkg-{self}'.replace(':', '-')
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment