bazelbuild / bazelbuild/rules_docker
Support Native Bazel Tags for Build Querying
- Dominant language
- Starlark
- Stars
- 1.1k
- Forks
- 689
- PR merge metrics
- No merged PRs in 30d
Description
# 🚀 feature request
### Relevant Rules
Amend existing rules to support Bazel tags.
### Description
Would like to add parameters for the rules so that we can add Bazel tags to the generated targets.
One of our use cases is selectively building / testing Bazel targets via selecting which tags to test.
For example, running the command: `bazel build --build_tag_filter=example_test //path/...` should just
build the binaries with the `example_test` in its tags attribute.
### Describe the solution you'd like
Just integrate with the basic Bazel tagging system.
### Describe alternatives you've considered
N / A - open to any / all ideas.
Contributor guide
Assessment
This issue has not been assessed yet.