mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-01-01 11:32:27 +08:00
adjust kompose script to automatically get latest version
Signed-off-by: Simon L <szaimen@e.mail.de>
This commit is contained in:
parent
3e08843b14
commit
f97644e029
1 changed files with 1 additions and 2 deletions
|
@ -10,8 +10,7 @@ rm -f ./helm-chart/values.yaml
|
|||
rm -rf ./helm-chart/templates
|
||||
|
||||
# Install kompose
|
||||
LATEST_KOMPOSE="$(git ls-remote --tags https://github.com/kubernetes/kompose.git | cut -d/ -f3 | grep -viE -- 'rc|b' | sort -V | tail -1)"
|
||||
curl -L https://github.com/kubernetes/kompose/releases/download/"$LATEST_KOMPOSE"/kompose-linux-amd64 -o kompose
|
||||
curl -L https://github.com/kubernetes/kompose/releases/latest/download/kompose-linux-amd64 -o kompose
|
||||
chmod +x kompose
|
||||
sudo mv ./kompose /usr/local/bin/kompose
|
||||
|
||||
|
|
Loading…
Reference in a new issue