diff --git a/projects/skaffold.dev/package.yml b/projects/skaffold.dev/package.yml new file mode 100644 index 00000000..7b09d01a --- /dev/null +++ b/projects/skaffold.dev/package.yml @@ -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}}