Skip to content

Commit

Permalink
[FIX] runbot: fix invalid field name
Browse files Browse the repository at this point in the history
  • Loading branch information
d-fence authored and Xavier-Do committed Nov 14, 2024
1 parent 2697a28 commit 9151c26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion runbot/models/host.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ def _docker_update_images(self):
self.ensure_one()
icp = self.env['ir.config_parameter']
docker_registry_host = self.browse(int(icp.get_param('runbot.docker_registry_host_id', default=0)))
registry_url = self.registry_url.strip('/') if self.registry_url else f'dockerhub.{docker_registry_host.name}'
registry_url = self.docker_registry_url.strip('/') if self.docker_registry_url else f'dockerhub.{docker_registry_host.name}'
# pull all images from the runbot docker registry
is_registry = docker_registry_host == self
all_docker_files = self.env['runbot.dockerfile'].search([])
Expand Down

0 comments on commit 9151c26

Please sign in to comment.