bazelbuild / bazelbuild/rules_docker

Support Native Bazel Tags for Build Querying

Open
#2,272 1 comment 1 reaction 0 assignees View on GitHub
Can Close?
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.