Skip to content

Commit

Permalink
Added default image on pull
Browse files Browse the repository at this point in the history
  • Loading branch information
samhotep committed Jul 15, 2024
1 parent a37668f commit 0b91b8b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion dotrun.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,10 @@ def _check_image_updates(self):
print("Getting the dotrun image...")
self._pull_image()

def _pull_image(self, image_name, no_exit=False):
def _pull_image(self, image_name=None, no_exit=False):
"""Pull the dotrun image (if updated) from Docker Hub"""
if not image_name:
image_name = self.base_image_name
image_uri = self._get_image_name(image_name)
repository, tag = image_uri.split(":")
try:
Expand Down

0 comments on commit 0b91b8b

Please sign in to comment.