diff --git a/internal/manifest/os.go b/internal/manifest/os.go index d6e96df05..f81297b50 100644 --- a/internal/manifest/os.go +++ b/internal/manifest/os.go @@ -352,7 +352,7 @@ func (p *OS) serialize() osbuild.Pipeline { pipeline.AddStage(osbuild.NewContainersStorageConfStage(containerStoreOpts)) } - skopeo := osbuild.NewSkopeoStage(images, storagePath) + skopeo := osbuild.NewSkopeoStage(storagePath, images) pipeline.AddStage(skopeo) } diff --git a/internal/osbuild/skopeo_stage.go b/internal/osbuild/skopeo_stage.go index 83260e501..c0ac14fbd 100644 --- a/internal/osbuild/skopeo_stage.go +++ b/internal/osbuild/skopeo_stage.go @@ -12,7 +12,7 @@ type SkopeoStageOptions struct { func (o SkopeoStageOptions) isStageOptions() {} -func NewSkopeoStage(images ContainersInput, path string) *Stage { +func NewSkopeoStage(path string, images ContainersInput) *Stage { inputs := ContainersInputs{ "images": images,