mirror of
https://github.com/genuinetools/reg.git
synced 2024-05-20 03:58:32 -04:00
update files
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
This commit is contained in:
parent
58cebbaa58
commit
d135555c4a
11
.goosarch
Normal file
11
.goosarch
Normal file
|
@ -0,0 +1,11 @@
|
|||
darwin/amd64
|
||||
darwin/386
|
||||
freebsd/amd64
|
||||
freebsd/386
|
||||
linux/arm
|
||||
linux/arm64
|
||||
linux/amd64
|
||||
linux/386
|
||||
solaris/amd64
|
||||
windows/amd64
|
||||
windows/386
|
|
@ -26,13 +26,9 @@ Docker registry v2 command line client.
|
|||
|
||||
For installation instructions from binaries please visit the [Releases Page](https://github.com/genuinetools/reg/releases).
|
||||
|
||||
- **darwin** [386](https://github.com/genuinetools/reg/releases/download/v0.14.2/reg-darwin-386) / [amd64](https://github.com/genuinetools/reg/releases/download/v0.14.2/reg-darwin-amd64)
|
||||
- **linux** [386](https://github.com/genuinetools/reg/releases/download/v0.14.2/reg-linux-386) / [amd64](https://github.com/genuinetools/reg/releases/download/v0.14.2/reg-linux-amd64) / [arm](https://github.com/genuinetools/reg/releases/download/v0.14.2/reg-linux-arm) / [arm64](https://github.com/genuinetools/reg/releases/download/v0.14.2/reg-linux-arm64)
|
||||
- **windows** [386](https://github.com/genuinetools/reg/releases/download/v0.14.2/reg-windows-386) / [amd64](https://github.com/genuinetools/reg/releases/download/v0.14.2/reg-windows-amd64)
|
||||
|
||||
#### Via Go
|
||||
|
||||
```bash
|
||||
```console
|
||||
$ go get github.com/genuinetools/reg
|
||||
```
|
||||
|
||||
|
@ -74,9 +70,6 @@ GLOBAL OPTIONS:
|
|||
--version, -v print the version
|
||||
```
|
||||
|
||||
Note that the `--registry` can be set by an environment variable `REG_REGISTRY`, so you can set this in your shell login scripts.
|
||||
Specifying the registry on the command-line will override an environment variable setting.
|
||||
|
||||
**NOTE:** Be aware that `reg ls` doesn't work with `hub.docker.com` as it has a different API then the [OSS Docker Registry](https://github.com/docker/distribution)
|
||||
|
||||
### Auth
|
||||
|
|
|
@ -107,7 +107,7 @@ func TestMain(m *testing.M) {
|
|||
func run(args ...string) (string, error) {
|
||||
prog := "./testreg" + exeSuffix
|
||||
// always add trust insecure, and the registry
|
||||
newargs := append([]string{"-d", "-k"}, args...)
|
||||
newargs := append(args, "-d", "-k")
|
||||
cmd := exec.Command(prog, newargs...)
|
||||
cmd.Env = []string{"REG_REGISTRY=localhost:5000"}
|
||||
out, err := cmd.CombinedOutput()
|
||||
|
|
Loading…
Reference in a new issue