Skip to content

Commit

Permalink
fix(docs): indicate that oci_tarball#repo_tags is mandatory (#293)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexeagle authored Jul 12, 2023
1 parent 2cb07e2 commit d43a22e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion docs/tarball.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,6 @@ Passing anything other than oci_image to the image attribute will lead to build
| :------------- | :------------- | :------------- | :------------- | :------------- |
| <a id="oci_tarball-name"></a>name | A unique name for this target. | <a href="https://bazel.build/docs/build-ref.html#name">Name</a> | required | |
| <a id="oci_tarball-image"></a>image | Label of a directory containing an OCI layout, typically <code>oci_image</code> | <a href="https://bazel.build/docs/build-ref.html#labels">Label</a> | required | |
| <a id="oci_tarball-repo_tags"></a>repo_tags | a file containing repo_tags, one per line. | <a href="https://bazel.build/docs/build-ref.html#labels">Label</a> | optional | None |
| <a id="oci_tarball-repo_tags"></a>repo_tags | a file containing repo_tags, one per line. | <a href="https://bazel.build/docs/build-ref.html#labels">Label</a> | required | |


1 change: 1 addition & 0 deletions oci/private/tarball.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ attrs = {
a file containing repo_tags, one per line.
""",
allow_single_file = [".txt"],
mandatory = True,
),
"_tarball_sh": attr.label(allow_single_file = True, default = "//oci/private:tarball.sh.tpl"),
}
Expand Down

0 comments on commit d43a22e

Please sign in to comment.