We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 48fb991 commit e36f796Copy full SHA for e36f796
1 file changed
rootfs/api/models/release.py
@@ -54,9 +54,7 @@ def image(self):
54
self.build.image.startswith(settings.REGISTRY_HOST) or
55
self.build.image.startswith(settings.REGISTRY_URL)
56
):
57
- # strip registry information off first
58
- image = self.build.image.replace('{}/'.format(settings.REGISTRY_URL), '')
59
- return image.replace('{}/'.format(settings.REGISTRY_HOST), '')
+ return self.build.image
60
61
# Sort out image information based on build type
62
if self.build.type == 'dockerfile':
0 commit comments