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

Build and push images to ibm container registry #544

Merged
merged 1 commit into from
May 15, 2023

Conversation

psschwei
Copy link
Collaborator

Summary

xref: #298

Add actions to build and push images to IBM Container Registry

Details and comments

Adds new workflow / actions for IBM Container Registry (as we'll be retiring DockerHub in the near future, I just duplicated the files rather than adding a registry parameter to the existing one as we can remove the Docker ones once we're happy with the ICR images).

For the image tag, we're going from qiskit to icr.io/quantum-public

For the authentication to IBM Cloud, I used https://github.com/IBM/actions-ibmcloud-cli action, which adds the IBM Cloud CLI and logs in to IBM Cloud / Container Registry.

Signed-off-by: Paul S. Schweigert <paul@paulschweigert.com>
@akihikokuroda
Copy link
Collaborator

Would you enable multi-architecture build if you don't mind? Simple enabling should work all images except the ray-node.
ref: https://blog.thesparktree.com/docker-multi-arch-github-actions.

@psschwei
Copy link
Collaborator Author

enable multi-architecture build

I'll do that in a follow-up PR... I'd like to ensure the ICR piece works first before adding new functionality (as it'll be easier to troubleshoot if something goes wrong)

@psschwei psschwei mentioned this pull request May 15, 2023
4 tasks
Copy link
Collaborator

@akihikokuroda akihikokuroda left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@psschwei psschwei merged commit c7e6f59 into Qiskit:main May 15, 2023
@psschwei psschwei deleted the use-icr branch May 15, 2023 20:58
@psschwei
Copy link
Collaborator Author

would help to add the actual action... 🤦

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants