mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 08:25:07 +03:00
feat(projects): adding skaffold.dev to pantry
This commit is contained in:
parent
cae6a2ba40
commit
62426e3d5b
1 changed files with 30 additions and 0 deletions
30
projects/skaffold.dev/package.yml
Normal file
30
projects/skaffold.dev/package.yml
Normal file
|
@ -0,0 +1,30 @@
|
|||
# https://skaffold.dev/
|
||||
|
||||
distributable: ~
|
||||
warnings:
|
||||
- vendored
|
||||
|
||||
versions:
|
||||
github: GoogleContainerTools/skaffold/tags
|
||||
|
||||
build:
|
||||
dependencies:
|
||||
curl.se: '*'
|
||||
working-directory: ${{prefix}}
|
||||
script: |
|
||||
curl -Lfo skaffold https://storage.googleapis.com/skaffold/releases/v{{version}}/skaffold-$PLATFORM
|
||||
chmod +x skaffold
|
||||
mkdir -p bin
|
||||
mv skaffold bin
|
||||
env:
|
||||
darwin/aarch64: {PLATFORM: darwin-arm64}
|
||||
darwin/x86-64: {PLATFORM: darwin-amd64}
|
||||
linux/aarch64: {PLATFORM: linux-arm64}
|
||||
linux/x86-64: {PLATFORM: linux-amd64}
|
||||
|
||||
provides:
|
||||
- bin/skaffold
|
||||
|
||||
test:
|
||||
script:
|
||||
test "$(skaffold version)" = v{{version}}
|
Loading…
Reference in a new issue