vendor: update buildah to latest main

Includes one breaking change for the flag as BuildOutputs now accept a
slice.

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
This commit is contained in:
Paul Holzinger
2025-06-05 11:47:46 +02:00
parent 96abeafc61
commit ac71bc6cf2
39 changed files with 824 additions and 234 deletions

View File

@@ -133,7 +133,7 @@ func newTarFilterer(writeCloser io.WriteCloser, filter func(hdr *tar.Header) (sk
}
hdr, err = tarReader.Next()
}
if err != io.EOF {
if !errors.Is(err, io.EOF) {
filterer.err = fmt.Errorf("reading tar archive: %w", err)
break
}
@@ -146,7 +146,11 @@ func newTarFilterer(writeCloser io.WriteCloser, filter func(hdr *tar.Header) (sk
if err == nil {
err = err1
}
pipeReader.CloseWithError(err)
if err != nil {
pipeReader.CloseWithError(err)
} else {
pipeReader.Close()
}
filterer.wg.Done()
}()
return filterer