From 1f06815cc160e1c2520ca88e4593017b6114b40c Mon Sep 17 00:00:00 2001 From: Giacomo Sanchietti Date: Thu, 7 Mar 2024 16:18:43 +0100 Subject: [PATCH] fix_versioning --- build-images.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build-images.sh b/build-images.sh index e2d0a2e..29c0bc5 100755 --- a/build-images.sh +++ b/build-images.sh @@ -9,7 +9,7 @@ images=() repobase="${REPOBASE:-ghcr.io/nethserver}" # Configure the image name reponame="nethsecurity-controller" -tag=${IMAGE_TAG:-0.0.1} +controller_version=0.0.1 promtail_version=2.7.1 loki_version=2.9.4 prometheus_version=2.50.1 @@ -68,7 +68,7 @@ buildah add "${container}" ui/dist /ui buildah config --entrypoint=/ \ --label="org.nethserver.authorizations=traefik@any:routeadm node:tunadm" \ --label="org.nethserver.tcp-ports-demand=10" \ - --label="org.nethserver.images=ghcr.io/nethserver/nethsecurity-vpn:$tag ghcr.io/nethserver/nethsecurity-api:$tag ghcr.io/nethserver/nethsecurity-ui:$tag ghcr.io/nethserver/nethsecurity-proxy:$tag docker.io/grafana/promtail:$promtail_version docker.io/grafana/loki:$loki_version docker.io/prom/prometheus:v$prometheus_version docker.io/grafana/grafana:$grafana_version ghcr.io/nethserver/webssh:webssh" \ + --label="org.nethserver.images=ghcr.io/nethserver/nethsecurity-vpn:$controller_version ghcr.io/nethserver/nethsecurity-api:$controller_version ghcr.io/nethserver/nethsecurity-ui:$controller_version ghcr.io/nethserver/nethsecurity-proxy:$controller_version docker.io/grafana/promtail:$promtail_version docker.io/grafana/loki:$loki_version docker.io/prom/prometheus:v$prometheus_version docker.io/grafana/grafana:$grafana_version ghcr.io/nethserver/webssh:${IMAGETAG:-latest}" \ "${container}" # Commit the image buildah commit "${container}" "${repobase}/${reponame}"