Skip to content

Commit

Permalink
implement app versioning
Browse files Browse the repository at this point in the history
  • Loading branch information
compgeniuses committed Jul 10, 2024
1 parent 8f80c39 commit b49a60d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion build-images.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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}"
Expand Down

0 comments on commit b49a60d

Please sign in to comment.