docker-credential-helper-ecr (#3879)

* Add docker-credential-helper-ecr

* add git to dependencies
This commit is contained in:
uesyn 2023-10-28 16:06:31 +09:00 committed by GitHub
parent 2b62f93a25
commit 1e1786b18a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -0,0 +1,27 @@
distributable:
url: git+https://github.com/awslabs/amazon-ecr-credential-helper
ref: v{{version}}
versions:
github: awslabs/amazon-ecr-credential-helper/tags
strip: /^v/
build:
dependencies:
gnu.org/bash: '*'
gnu.org/make: '*'
git-scm.org: '*'
go.dev: ^1.21
script: |
make build
mkdir -p {{prefix}}/bin
cp bin/local/docker-credential-ecr-login {{prefix}}/bin/docker-credential-ecr-login
provides:
- bin/docker-credential-ecr-login
test:
dependencies:
gnu.org/grep: '*'
script: |
docker-credential-ecr-login -v | grep Version | grep {{version}}