mirror of
https://github.com/coollabsio/coolify.git
synced 2026-11-06 13:10:37 -04:00
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: peaklabs-dev <122374094+peaklabs-dev@users.noreply.github.com> Co-authored-by: Aditya Tripathi <aditya@climactic.co>
6 lines
359 B
Cheetah
6 lines
359 B
Cheetah
{{- range .artifacts }}
|
|
{{- $lic := list }}{{- range .licenses }}{{- $lic = append $lic .value }}{{- end }}
|
|
{{- $layer := "" }}{{- range .locations }}{{- if and (not $layer) .layerID }}{{- $layer = .layerID }}{{- end }}{{- end }}
|
|
{{ dict "id" .id "name" .name "version" .version "type" .type "licenses" $lic "purl" .purl "layer" $layer | toJson }}
|
|
{{- end }}
|