mirror of
https://github.com/containers/podman.git
synced 2026-02-05 06:45:31 +01:00
Merge pull request #27993 from danishprakash/podman-buildah-vendor
vendor: update c/buildah to latest main
This commit is contained in:
@@ -268,6 +268,7 @@ func (f *Farm) Build(ctx context.Context, schedule Schedule, options entities.Bu
|
||||
listBuilderOptions := listBuilderOptions{
|
||||
cleanup: options.Cleanup,
|
||||
iidFile: options.IIDFile,
|
||||
iidFileRaw: options.IIDFileRaw,
|
||||
authfile: options.Authfile,
|
||||
skipTLSVerify: options.SkipTLSVerify,
|
||||
}
|
||||
|
||||
@@ -16,6 +16,7 @@ import (
|
||||
type listBuilderOptions struct {
|
||||
cleanup bool
|
||||
iidFile string
|
||||
iidFileRaw string
|
||||
authfile string
|
||||
skipTLSVerify *bool
|
||||
}
|
||||
@@ -130,6 +131,11 @@ func (l *listLocal) build(ctx context.Context, images map[entities.BuildReport]e
|
||||
return "", err
|
||||
}
|
||||
}
|
||||
if l.options.iidFileRaw != "" {
|
||||
if err := os.WriteFile(l.options.iidFileRaw, []byte(listID), 0o644); err != nil {
|
||||
return "", err
|
||||
}
|
||||
}
|
||||
|
||||
return l.listName, nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user