Skip to content

Commit

Permalink
Avoid overly long image names
Browse files Browse the repository at this point in the history
  • Loading branch information
manics committed Mar 3, 2024
1 parent 77c6dfc commit 808f88e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,8 @@ def collect(self):
extra_args = yaml.safe_load(extra_args_path.read_text())
args += extra_args

# Avoid overly long image names
args.append("--image-name=" + "-".join(self.path.parent.parts[-3:]))
args.append(str(self.path.parent))

yield Repo2DockerTest.from_parent(self, name="build", args=args)
Expand Down

0 comments on commit 808f88e

Please sign in to comment.