Skip to content

Commit

Permalink
implement image versioning
Browse files Browse the repository at this point in the history
  • Loading branch information
compgeniuses committed Feb 21, 2024
1 parent 4f3b36a commit fcc361b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build-images.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ images=()
repobase="${REPOBASE:-ghcr.io/compgeniuses}"
# Configure the image name
reponame="stirlingpdf"

SPDF_TAG="v0.21.0"
# Create a new empty container image
container=$(buildah from scratch)

Expand Down Expand Up @@ -45,7 +45,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/frooodle/s-pdf:latest" \
--label="org.nethserver.images=docker.io/frooodle/s-pdf:${SPDF_TAG}" \
"${container}"
# Commit the image
buildah commit "${container}" "${repobase}/${reponame}"
Expand Down

0 comments on commit fcc361b

Please sign in to comment.