diff --git a/docs/push.md b/docs/push.md index 2f74101b..c76d48f3 100644 --- a/docs/push.md +++ b/docs/push.md @@ -155,7 +155,7 @@ multirun( | :------------- | :------------- | :------------- | :------------- | :------------- | | name | A unique name for this target. | Name | required | | | image | Label to an oci_image or oci_image_index | Label | required | | -| remote_tags | a .txt file containing tags, one per line. These are passed to [`crane tag`]( https://github.com/google/go-containerregistry/blob/main/cmd/crane/doc/crane_tag.md) | Label | optional | `None` | +| remote_tags | a text file containing tags, one per line. These are passed to [`crane tag`]( https://github.com/google/go-containerregistry/blob/main/cmd/crane/doc/crane_tag.md) | Label | optional | `None` | | repository | Repository URL where the image will be signed at, e.g.: `index.docker.io//image`. Digests and tags are not allowed. | String | optional | `""` | | repository_file | The same as 'repository' but in a file. This allows pushing to different repositories based on stamping. | Label | optional | `None` | diff --git a/oci/private/push.bzl b/oci/private/push.bzl index 38961dbe..f4e97b10 100644 --- a/oci/private/push.bzl +++ b/oci/private/push.bzl @@ -174,11 +174,11 @@ _attrs = { ), "remote_tags": attr.label( doc = """\ - a .txt file containing tags, one per line. + a text file containing tags, one per line. These are passed to [`crane tag`]( https://github.com/google/go-containerregistry/blob/main/cmd/crane/doc/crane_tag.md) """, - allow_single_file = [".txt"], + allow_single_file = True, ), "_allowlist_function_transition": attr.label( default = "@bazel_tools//tools/allowlists/function_transition_allowlist",