bazel-contrib / bazel-contrib/rules_oci
oci_push fails if empty remote_tags parameter
- Dominant language
- Starlark
- Stars
- 423
- Forks
- 213
- Avg merge
- 53m
- Merged PRs (30d)
- 1
Description
`bazel run` of `oci_push` target with an empty (`[]`) `remote_tags` parameter results in error (after succesfully pushing):
`Error: accepts 2 arg(s), received 1`
Repro with [these](https://github.com/IOrlandoni/rules_oci/commit/c6468bc2979cf255047306d96feeaf1107cf4e33) changes, visible failures on this [CI run](https://github.com/IOrlandoni/rules_oci/actions/runs/7732199977).
I can make a PR from that to get the example / test into this repo, if you wish.
Contributor guide
Research direction
Start with the oci_push entry point and the linked reproduction commit, then inspect the failures in the linked CI run. Reproduce an empty remote_tags run; done means the image pushes successfully without the argument error and an example or test covers this case.
Written by the indexing model from the issue text.
Assessment
- Domain
- build-system, devops
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100