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

New script to manually push multi-platform docker images #6954

Draft
wants to merge 8 commits into
base: master
Choose a base branch
from

Conversation

tempoz
Copy link
Contributor

@tempoz tempoz commented Jun 28, 2024

Since rules_docker is no longer supported, we are looking at moving to rules_oci. However, rules_oci doesn't support building images with a dockerfile since it's not hermetic. Instead, they recommend building your base image manually and uploading it to a registry, and then pulling it down by hash during your bazel build. This is a script to assist in the process of building such images. It's likely that instead of invoking it directly, we can make one-line bash scripts that do the pushes we want for us. I think another option for further work would be adding a warning about pushing an image to a prod repository for which there does not exist a corresponding dev repository.

Related issues: N/A

@tempoz tempoz marked this pull request as draft September 3, 2024 19:06
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.

1 participant