Skip to content

Commit 704d3a5

Browse files
authored
Add comment about overriding container_push destination (#2221)
* Add comment about overriding container_push destination. * Makes more sense * Add note about needing "--" in blaze run * Blaze->bazel
1 parent 1d7b0d8 commit 704d3a5

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

container/push.bzl

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -219,6 +219,10 @@ container_push_ = rule(
219219
)
220220

221221
# Pushes a container image to a registry.
222+
# You can override some arguments by including adding arguments when running blaze run.
223+
# Additional arguments will be sent to the command listed in the _pusher rule above.
224+
# Most common use is adding --dst=myregistry/mypath:debugtag.
225+
# Use `bazel run //target:push -- -help` to get a printing of possible options.
222226
def container_push(name, format, image, registry, repository, **kwargs):
223227
container_push_(
224228
name = name,

0 commit comments

Comments
 (0)