mirror of
https://github.com/ivabus/pantry
synced 2024-11-14 04:25:08 +03:00
docker-credential-helper-ecr (#3879)
* Add docker-credential-helper-ecr * add git to dependencies
This commit is contained in:
parent
2b62f93a25
commit
1e1786b18a
1 changed files with 27 additions and 0 deletions
|
@ -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}}
|
Loading…
Reference in a new issue