mirror of
https://github.com/mudler/luet.git
synced 2025-09-26 07:10:25 +00:00
Rename PreBuildSteps in Prelude
This commit is contained in:
@@ -25,7 +25,7 @@ import (
|
|||||||
|
|
||||||
type LuetCompilationSpec struct {
|
type LuetCompilationSpec struct {
|
||||||
Steps []string `json:"steps"` // Are run inside a container and the result layer diff is saved
|
Steps []string `json:"steps"` // Are run inside a container and the result layer diff is saved
|
||||||
PreBuildSteps []string `json:"pre_steps"` // Are run inside the image which will be our builder
|
Prelude []string `json:"prelude"` // Are run inside the image which will be our builder
|
||||||
Image string `json:"image"`
|
Image string `json:"image"`
|
||||||
Seed string `json:"seed"`
|
Seed string `json:"seed"`
|
||||||
Package pkg.Package `json:"-"`
|
Package pkg.Package `json:"-"`
|
||||||
@@ -51,7 +51,7 @@ func (cs *LuetCompilationSpec) BuildSteps() []string {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (cs *LuetCompilationSpec) GetPreBuildSteps() []string {
|
func (cs *LuetCompilationSpec) GetPreBuildSteps() []string {
|
||||||
return cs.PreBuildSteps
|
return cs.Prelude
|
||||||
}
|
}
|
||||||
|
|
||||||
func (cs *LuetCompilationSpec) GetSeedImage() string {
|
func (cs *LuetCompilationSpec) GetSeedImage() string {
|
||||||
|
Reference in New Issue
Block a user