Skip to content

Commit

Permalink
chore(ci): test final:false werf.yaml
Browse files Browse the repository at this point in the history
Signed-off-by: Nikita korolev <nikita.korolev@flant.com>
  • Loading branch information
universal-itengineer committed Sep 17, 2024
1 parent 6ec0412 commit 1ea361b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions werf.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,13 @@ dockerfile: Dockerfile
{{- range $ImageYamlMainfest := regexSplit "\n?---[ \t]*\n" (include "module_image_template" $ctx) -1 }}

{{- $ImageManifest := $ImageYamlMainfest | fromYaml }}
{{- if $ImageManifest | dig "final" true }}

{{- if $ImageManifest.image }}
{{- $ImagesIDList = append $ImagesIDList $ImageManifest.image }}
{{- end }}
{{- end }}

{{- end }}
{{- end }}
---
Expand Down

0 comments on commit 1ea361b

Please sign in to comment.