mirror of
https://github.com/moby/buildkit.git
synced 2026-11-06 05:16:45 +00:00
Reject unsuccessful HTTP responses and close the response body on every import path. Import into a temporary file and publish the keyring only after GPG succeeds, so failed imports cannot leave a file that causes subsequent setup attempts to skip key installation. Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>