todd-dsm / mac-ops

QnD Automation to build a MacBook Pro for DevOps
MIT License
11 stars 7 forks source link

installing docker-credential-ecr-Login fails #66

Closed todd-dsm closed 2 years ago

todd-dsm commented 2 years ago
go get -u github.com/awslabs/amazon-ecr-credential-helper/ecr-login/cli/docker-credential-ecr-Login # <- FAILS
...
go: downloading github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.3.0
go get: installing executables with 'go get' in module mode is deprecated.                # <-- issue
    Use 'go install pkg@version' instead.
    For more information, see https://golang.org/doc/go-get-install-deprecation
    or run 'go help get' or 'go help install'.
+ [[ -f /Users/thomas/go/bin/docker-credential-ecr-login ]]
+ sudo mv /Users/thomas/go/bin/docker-credential-ecr-login /opt/go-bins
+ printHead 'Configuring the AWS CLI...'
+ theHead='Configuring the AWS CLI...'
todd-dsm commented 2 years ago

fixed in commit: 14a39b9934214c210983d15424efefca8125b9a9