Skip to content

Commit

Permalink
Add details about differing commands before and after go v1.16
Browse files Browse the repository at this point in the history
  • Loading branch information
gene1wood committed Dec 14, 2021
1 parent cdea1b1 commit 3f58d83
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion README.md
Expand Up @@ -123,12 +123,19 @@ setx GOPATH %USERPROFILE%\go
If you haven't defined the PATH, the command below will fail silently, and
running `docker-credential-ecr-login` will output: `command not found`

You can install this via `go install` with:
You can install this via the `go` command line tool.

For go version 1.16 and newer run :

```
go install github.com/awslabs/amazon-ecr-credential-helper/ecr-login/cli/docker-credential-ecr-login@latest
```

or with an older version of go run :

```
go get -u github.com/awslabs/amazon-ecr-credential-helper/ecr-login/cli/docker-credential-ecr-login
```

If you already have Docker environment, just clone this repository anywhere
and run `make docker`. This command builds the binary with Go inside the Docker
Expand Down

0 comments on commit 3f58d83

Please sign in to comment.