feature update prepare_commands
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
12db85d8b7
commit
e5df51249b
@ -2,12 +2,17 @@ kind: pipeline
|
||||
type: docker
|
||||
name: default
|
||||
steps:
|
||||
{{ $prepare_commands := .input.prepare_commands }}
|
||||
{{ $default_build_types := .input.default_build_types }}
|
||||
{{ range .input.builds }}
|
||||
{{ $image_name := .image_name }}
|
||||
- name: build {{ .image_name }}
|
||||
image: dockcross/{{ .image_name }}
|
||||
commands:
|
||||
{{ range $prepare_commands }}
|
||||
- {{ . }}
|
||||
{{ end }}
|
||||
|
||||
{{ $build_types := $default_build_types }}
|
||||
{{ if .build_types }}
|
||||
{{ $build_types := .build_types }}
|
||||
|
Loading…
Reference in New Issue
Block a user