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

Why does remote_tags have to be a file? #753

Open
grepwood opened this issue Dec 16, 2024 · 1 comment
Open

Why does remote_tags have to be a file? #753

grepwood opened this issue Dec 16, 2024 · 1 comment
Labels
question This is a question rather than a bug report or feature request

Comments

@grepwood
Copy link

In my use case, it would be 100x easier if an array/tuple of strings and Bazel labels were accepted instead. I now find myself having to write the namespace into a separate file to make the dots connect.

@thesayyn
Copy link
Collaborator

It doesn't have to be if you use the oci_push macro instead of oci_push_rule.

https://github.com/bazel-contrib/rules_oci/blob/main/docs/push.md#oci_push automatically creates the file for you based on tags you provide as an array, and, it'll create the file for you.

@thesayyn thesayyn added the question This is a question rather than a bug report or feature request label Jan 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question This is a question rather than a bug report or feature request
Projects
None yet
Development

No branches or pull requests

2 participants