actions-toolkit
actions-toolkit copied to clipboard
oci: loadArchive to import an index from a tar archive image bundle
related to:
- https://github.com/docker/actions-toolkit/pull/324
- https://github.com/docker/actions-toolkit/pull/307
For the first milestone of GHA build summary we are exporting the .dockerbuild and summary.json files using an external-build tool. In the next milestone, Buildx will export records using standard types and therefore no summary.json will be generated as of today.
To do so, we need to load the OCI archive (.dockerbuild file) exported by Buildx in the actions toolkit and read the build history records we need to generate the summary accordingly.