Skip to content

Commit

Permalink
#451 backwards compatibility fix
Browse files Browse the repository at this point in the history
  • Loading branch information
filippomc committed May 6, 2022
1 parent 81833b6 commit 2b1e55b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/cloudharness_utilities/codefresh.py
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ def codefresh_app_build_spec(app_name, app_context_path, dockerfile_path="Docker
dep_list = helm_values.apps[values_key].harness.dependencies.build
dependencies = [f"{d.upper().replace('-', '_')}=${{{{REGISTRY}}}}/{get_image_name(d, base_name)}:{build['tag']}" for
d in dep_list]
except KeyError:
except (KeyError, AttributeError):
dependencies = [f"{d.upper().replace('-', '_')}=${{{{REGISTRY}}}}/{get_image_name(d, base_name)}:{build['tag']}" for
d in helm_values['task-images']]
build['build_arguments'].extend(dependencies)
Expand Down

0 comments on commit 2b1e55b

Please sign in to comment.