Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement multi-arch image building/pushing for registry-operator #1549

Closed
2 tasks done
Tracked by #1608
Jdubrick opened this issue May 13, 2024 · 1 comment · Fixed by devfile/registry-operator#90
Closed
2 tasks done
Tracked by #1608
Assignees
Labels
area/registry Devfile registry for stacks and infrastructure

Comments

@Jdubrick
Copy link
Contributor

Jdubrick commented May 13, 2024

Which area is this issue related to?

/area registry

Issue Description

The registry-operator currently can be built for both amd64 and arm64 architectures with the setting of the TARGET_ARCH environment variable at image build. In order to allow users pulling the registry-operator image to take advantage of this multi-arch support we should implement the use of a manifest so that users can pull either amd64 or arm64 built images from quay.io, currently only amd64 is being pulled.

Once the manifest is created and apart of the repository, any automation that is currently building images for this repository and pushing them should be doing so to the manifest to allow for multi-arch pulling.

Below is an example from Red Hat Developer:

# First, initialise the manifest
podman manifest create <image name>

# Build the image attaching them to the manifest
podman build --platform linux/amd64,linux/arm64  --manifest <image name>  .

# Finally publish the manifest
podman manifest push <image name>

Acceptance Criteria

  • Manifest implemented for multi-arch support
  • Any automations building operator images and pushing to quay.io should be pushing to that manifest
@openshift-ci openshift-ci bot added the area/registry Devfile registry for stacks and infrastructure label May 13, 2024
@Jdubrick
Copy link
Contributor Author

Blocking #1552

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/registry Devfile registry for stacks and infrastructure
Projects
Status: Done ✅
Development

Successfully merging a pull request may close this issue.

1 participant