Skip to content

Commit 9da2aa5

Browse files
committed
updates
1 parent 969f1d5 commit 9da2aa5

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

commit0/harness/execution_context.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ def __init__(
163163

164164
# the image must exist on dockerhub
165165
reponame = spec.repo.split("/")[-1]
166-
image_name = f"wentingzhao/{reponame}:latest".lower()
166+
image_name = f"wentingzhao/{reponame}:v0".lower()
167167
image = modal.Image.from_registry(image_name, force_build=rebuild_image)
168168
if files_to_copy:
169169
for _, f in files_to_copy.items():

commit0/harness/spec.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,13 +54,13 @@ def repo_image_key(self) -> str:
5454
repo = self.repo.split("/")[-1]
5555
# this is the image name created locally
5656
# once this image created, it will be tagged with repo_image_tag
57-
return f"commit0.repo.{repo}.{val}:latest".lower()
57+
return f"commit0.repo.{repo}.{val}:v0".lower()
5858

5959
@property
6060
def repo_image_tag(self) -> str:
6161
"""Repo image tag that will be used throughout."""
6262
repo = self.repo.split("/")[-1]
63-
return f"wentingzhao/{repo}:latest".lower()
63+
return f"wentingzhao/{repo}:v0".lower()
6464

6565
def get_container_name(self, run_id: Optional[str] = None) -> str:
6666
repo = self.repo.split("/")[-1]

0 commit comments

Comments
 (0)