portainer/build/download_kompose_binary.ps1

8 lines
216 B
PowerShell

param (
[string]$kompose_version
)
$ErrorActionPreference = "Stop";
Invoke-WebRequest -O "dist/kompose.exe" "https://github.com/kubernetes/kompose/releases/download/$($kompose_version)/kompose-windows-amd64.exe"