diff --git a/build-images.sh b/build-images.sh index c7c8b81..3baa903 100644 --- a/build-images.sh +++ b/build-images.sh @@ -14,6 +14,7 @@ images=() repobase="${REPOBASE:-ghcr.io/geniusdynamics}" # Configure the image name reponame="chiefonboarding" +APP_VERSION="v2.2.2" # Create a new empty container image container=$(buildah from scratch) @@ -45,7 +46,7 @@ buildah config --entrypoint=/ \ --label="org.nethserver.authorizations=traefik@node:routeadm" \ --label="org.nethserver.tcp-ports-demand=1" \ --label="org.nethserver.rootfull=0" \ - --label="org.nethserver.images=docker.io/postgres:15.5-alpine3.19 docker.io/chiefonboarding/chiefonboarding:latest" \ + --label="org.nethserver.images=docker.io/postgres:15.5-alpine3.19 docker.io/chiefonboarding/chiefonboarding:${APP_VERSION}" \ "${container}" # Commit the image buildah commit "${container}" "${repobase}/${reponame}"