Skip to content

Commit

Permalink
#
Browse files Browse the repository at this point in the history
  • Loading branch information
czy21 committed Aug 30, 2024
1 parent 6e9d7b5 commit ad874e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/docker/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ def get_image_tag(self, registry_url, registry_dir, role_dockerfile):
registry_url, registry_dir,
"-".join(filter(lambda d: d != "", [self.role_name, role_dockerfile.name.replace("Dockerfile", "").lower()])))
image_version = self.args.tag if self.args.tag else self.role_env.get("param_role_image_version")
return image_tag + ":" + image_version if image_version else "latest"
return image_tag + ":" + (image_version if image_version else "latest")

def delete(self) -> list[str]:
_cmds = []
Expand Down

0 comments on commit ad874e6

Please sign in to comment.