1
0
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:
Matt Heon
2026-02-04 16:02:39 -05:00
committed by GitHub
71 changed files with 1346 additions and 385 deletions

View File

@@ -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,
}

View File

@@ -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
}