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

There's no such symbol as expand_template_rule in @aspect_bazel_lib//lib:expand_template.bzl #754

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

Comments

@grepwood
Copy link

The code in https://github.com/bazel-contrib/rules_oci/blob/main/docs/push.md#examples is incorrect.
It says we have to load:

load("@aspect_bazel_lib//lib:expand_template.bzl", "expand_template_rule")

But then we use a function that's not loaded:

expand_template(
    name = "stamped",
    out = "_stamped.tags.txt",
    template = ["0.0.0"],
    stamp_substitutions = {"0.0.0": "{{BUILD_EMBED_LABEL}}"},
)
@grepwood
Copy link
Author

I tried to find out more about stamped tags having read https://github.com/bazel-contrib/rules_oci/blob/main/docs/push.md#oci_push so I clicked the link to https://github.com/bazel-contrib/rules_oci/blob/main/examples/push/stamp_tags.bzl and it's 404...

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

No branches or pull requests

1 participant