Skip to content

Commit be9f221

Browse files
authored
fix: skip image componentReference if the APP_VERSION is "0.0.0" (#78)
On-behalf-of: @SAP angel.kafazov@sap.com Signed-off-by: Angel Kafazov <akafazov@cst-bg.net>
1 parent dfa3f4e commit be9f221

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/pipeline-service-component.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,9 +89,11 @@ jobs:
8989
- name: chart
9090
componentName: "github.com/platform-mesh/helm-charts/{{ .CHART_NAME }}"
9191
version: "{{ .VERSION }}"
92+
{{- if ne .APP_VERSION "0.0.0" }}
9293
- name: image
9394
componentName: "github.com/platform-mesh/images/{{ .IMAGE_COMPONENT_NAME }}"
9495
version: "{{ .APP_VERSION }}"
96+
{{- end }}
9597
EOF
9698
9799
- name: Create OCM ComponentArchive

0 commit comments

Comments
 (0)