mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-04-24 04:29:25 +02:00
Docker Plugin: Show images for push/pull/build
This commit is contained in:
parent
dc222704df
commit
78df80fd02
1 changed files with 3 additions and 1 deletions
|
|
@ -48,6 +48,7 @@ __build() {
|
|||
'--rm[Remove intermediate containers after a successful build]' \
|
||||
'(-t,--tag=)'{-t,--tag=}'[Repository name (and optionally a tag) to be applied to the resulting image in case of success]' \
|
||||
'*:files:_files'
|
||||
__docker_images
|
||||
}
|
||||
|
||||
__commit() {
|
||||
|
|
@ -194,10 +195,11 @@ __ps() {
|
|||
__pull() {
|
||||
_arguments \
|
||||
'(-t,--tag=)'{-t,--tag=}'[Download tagged image in repository]'
|
||||
__docker_images
|
||||
}
|
||||
|
||||
__push() {
|
||||
# no arguments
|
||||
__docker_images
|
||||
}
|
||||
|
||||
__restart() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue