mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-12-19 22:16:49 +00: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
|
rm -rf ./helm-chart/templates
|
||||||
|
|
||||||
# Install kompose
|
# 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/latest/download/kompose-linux-amd64 -o kompose
|
||||||
curl -L https://github.com/kubernetes/kompose/releases/download/"$LATEST_KOMPOSE"/kompose-linux-amd64 -o kompose
|
|
||||||
chmod +x kompose
|
chmod +x kompose
|
||||||
sudo mv ./kompose /usr/local/bin/kompose
|
sudo mv ./kompose /usr/local/bin/kompose
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue