Update catalog api url

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2021-12-02 02:02:18 +01:00
parent 1626cc3f51
commit b1f1d3d485
Signed by: luzifer
GPG key ID: 0066F03ED215AD7D

View file

@ -14,7 +14,7 @@ git reset --hard origin/master
### ---- ### ### ---- ###
echo "Fetching latest version..." echo "Fetching latest version..."
LATEST=$(curl -sSLf 'https://latest.luzifer.io/catalog-api/grafana/latest.txt?p=version') LATEST=$(curl -sSLf 'https://lv.luzifer.io/v1/catalog/grafana/latest/version')
echo "Found version ${LATEST}, patching..." echo "Found version ${LATEST}, patching..."
sed -i "s/^ENV GRAFANA_VERSION.*$/ENV GRAFANA_VERSION ${LATEST}/" Dockerfile sed -i "s/^ENV GRAFANA_VERSION.*$/ENV GRAFANA_VERSION ${LATEST}/" Dockerfile