core icon indicating copy to clipboard operation
core copied to clipboard

Add Digest Export and Manifest Creation for Multi-Arch Docker Builds

Open mryashlk opened this issue 1 year ago • 2 comments

This pull request enhances the Docker image build workflow to support exporting image digests and creating a manifest list for multi-architecture Docker builds. The changes include:

  • Digest Export: The build job now exports digests for each platform and uploads them as artifacts.
  • Manifest Creation: The merge job downloads all digests and creates a manifest list with these digests for each platform.
  • Simulated Image Inspection: Added steps to simulate image inspection and creation of a manifest list.

The login and logout steps for DockerHub are currently commented out. Uncomment these steps if DockerHub authentication is required. The workflow now supports linux/amd64, linux/arm64, linux/arm/v6, and linux/arm/v7 platforms.

mryashlk avatar Sep 01 '24 09:09 mryashlk

@viferga

mryashlk avatar Sep 01 '24 09:09 mryashlk

I converted it into draft because as there is no test related to it, we will need to review this in order to check if it works properly. Meanwhile the PR has no tests or it has not been tested by us, it will remain as a draft.

viferga avatar Sep 17 '24 20:09 viferga

I assume this can be closed in favor of https://github.com/metacall/core/pull/535, right?

viferga avatar Nov 27 '24 20:11 viferga

I assume this can be closed in favor of https://github.com/metacall/core/pull/535, right?

Yes we can close this PR , I will Close this

mryashlk avatar Nov 28 '24 05:11 mryashlk