diff --git a/src/main/python/ddadevops/domain/image.py b/src/main/python/ddadevops/domain/image.py index 37a23aa..62e7c63 100644 --- a/src/main/python/ddadevops/domain/image.py +++ b/src/main/python/ddadevops/domain/image.py @@ -10,7 +10,6 @@ class Image(Validateable): dockerhub_user, dockerhub_password, devops: Devops, - build_dir_name="target", use_package_common_files=True, build_commons_path=None, docker_build_commons_dir_name="docker", @@ -25,5 +24,5 @@ class Image(Validateable): self.devops = devops def docker_build_commons_path(self): - list = [self.build_commons_path, self.docker_build_commons_dir_name] - return "/".join(filter_none(list)) + "/" + commons_path = [self.build_commons_path, self.docker_build_commons_dir_name] + return "/".join(filter_none(commons_path)) + "/"