mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 08:25:07 +03:00
+aws-vault -- A vault for securely storing and accessing AWS credentials
This commit is contained in:
parent
6f80fa8dfc
commit
e7e802e2db
1 changed files with 29 additions and 0 deletions
29
projects/github.com/99designs/aws-vault/package.yml
Normal file
29
projects/github.com/99designs/aws-vault/package.yml
Normal file
|
@ -0,0 +1,29 @@
|
|||
distributable:
|
||||
url: https://github.com/99designs/aws-vault/archive/refs/tags/v{{version}}.tar.gz
|
||||
strip-components: 1
|
||||
|
||||
versions:
|
||||
github: 99designs/aws-vault
|
||||
strip: /^v/
|
||||
|
||||
build:
|
||||
dependencies:
|
||||
go.dev: ^1.20
|
||||
script: |
|
||||
go build -v -ldflags="$LDFLAGS" -o aws-vault ./main.go
|
||||
mkdir -p "{{ prefix }}"/bin
|
||||
mv aws-vault "{{ prefix }}"/bin
|
||||
env:
|
||||
CGO_ENABLED: 0
|
||||
LDFLAGS:
|
||||
- -extldflags=-static
|
||||
- -w
|
||||
- -s
|
||||
- -X=main.Version=v{{version}}
|
||||
|
||||
provides:
|
||||
- bin/aws-vault
|
||||
|
||||
test:
|
||||
script: |
|
||||
test "$(aws-vault --version 2>&1)" = v{{version}}
|
Loading…
Reference in a new issue