Skip to content

Commit

Permalink
Initial files!
Browse files Browse the repository at this point in the history
  • Loading branch information
Johannestegner committed Sep 26, 2019
0 parents commit e3387a1
Show file tree
Hide file tree
Showing 2,003 changed files with 596,020 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.idea
21 changes: 21 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2019 Jitesoft

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
36 changes: 36 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# docker-multi-plugin

A simple CLI plugin (created mainly to test the capabilities of the go docker cli plugin api) which
allows to push and tag images with multiple arguments in one command!

Ever found the following annoying?

```bash
docker tag myimage:latest myimage:1.0.1.1.0
docker tag myimage:latest myimage:1.0.1.1
docker tag myimage:latest myimage:1.0.1
docker tag myimage:latest myimage:1.0
docker tag myimage:latest myimage:1

docker push myimage:latest
docker push myimage:1.0.1.1.0
docker push myimage:1.0.1.1
docker push myimage:1.0.1
docker push myimage:1.0
docker push myimage:1
```

Well, with the `multi` cli plugin, you could instead do this!

```bash
docker multi tag myimage:latest myimage:1.0.1.1.0 myimage:latest myimage:1.0.1.1 myimage:latest myimage:1.0.1 myimage:latest myimage:1.0 myimage:latest myimage:1
docker multi push myimage:latest myimage:1.0.1.1.0 myimage:latest myimage:1.0.1.1 myimage:latest myimage:1.0.1 myimage:latest myimage:1.0 myimage:latest myimage:1
```

Awesome right?!

## License

MIT

No warranty, no liability.
45 changes: 45 additions & 0 deletions go.mod
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
module github.com/jitesoft/docker-multi-plugin

go 1.13

require (
github.com/Azure/go-ansiterm v0.0.0-20170929234023-d6e3b3328b78 // indirect
github.com/Microsoft/go-winio v0.4.14 // indirect
github.com/Microsoft/hcsshim v0.8.6 // indirect
github.com/agl/ed25519 v0.0.0-20170116200512-5312a6153412 // indirect
github.com/containerd/console v0.0.0-20181022165439-0650fd9eeb50 // indirect
github.com/containerd/containerd v1.3.0-rc.2 // indirect
github.com/containerd/continuity v0.0.0-20190827140505-75bee3e2ccb6 // indirect
github.com/containerd/fifo v0.0.0-20190816180239-bda0ff6ed73c // indirect
github.com/containerd/ttrpc v0.0.0-20190828172938-92c8520ef9f8 // indirect
github.com/containerd/typeurl v0.0.0-20190911142611-5eb25027c9fd // indirect
github.com/docker/cli v0.0.0-20190822175708-578ab52ece34
github.com/docker/distribution v2.7.1-0.20190205005809-0d3efadf0154+incompatible // indirect
github.com/docker/docker v1.4.2-0.20190511020111-3998dffb806f // indirect
github.com/docker/docker-credential-helpers v0.6.3 // indirect
github.com/docker/go v1.5.1-1 // indirect
github.com/docker/go-connections v0.4.0 // indirect
github.com/docker/go-events v0.0.0-20190806004212-e31b211e4f1c // indirect
github.com/docker/go-metrics v0.0.1 // indirect
github.com/docker/go-units v0.4.0 // indirect
github.com/gogo/googleapis v1.3.0 // indirect
github.com/gorilla/mux v1.7.3 // indirect
github.com/hashicorp/go-version v1.2.0 // indirect
github.com/inconshreveable/mousetrap v1.0.0 // indirect
github.com/miekg/pkcs11 v1.0.3 // indirect
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
github.com/modern-go/reflect2 v1.0.1 // indirect
github.com/morikuni/aec v0.0.0-20170113033406-39771216ff4c // indirect
github.com/opencontainers/go-digest v1.0.0-rc1 // indirect
github.com/opencontainers/image-spec v1.0.1 // indirect
github.com/opencontainers/runc v0.1.1 // indirect
github.com/opencontainers/runtime-spec v1.0.1 // indirect
github.com/sirupsen/logrus v1.4.2
github.com/spf13/cobra v0.0.3
github.com/spf13/pflag v1.0.3 // indirect
github.com/syndtr/gocapability v0.0.0-20180916011248-d98352740cb2 // indirect
github.com/theupdateframework/notary v0.6.1 // indirect
golang.org/x/net v0.0.0-20190923162816-aa69164e4478 // indirect
google.golang.org/grpc v1.23.1 // indirect
vbom.ml/util v0.0.0-20180919145318-efcd4e0f9787 // indirect
)
Loading

0 comments on commit e3387a1

Please sign in to comment.