chore: use fedora major version for source tag

This commit is contained in:
Bastien Riviere 2024-05-03 20:32:42 +02:00
parent a8e2b8e5e0
commit ba590e740a
Signed by: babariviere
GPG key ID: 4E5F0839249F162E

View file

@ -4,6 +4,8 @@
# Build args can be provided on the commandline when building locally with:
# podman build -f Containerfile --build-arg FEDORA_MAJOR_VERSION=40 -t local-image
ARG FEDORA_MAJOR_VERSION="${FEDORA_MAJOR_VERSION:-40}"
# SOURCE_IMAGE arg can be anything from ublue upstream which matches your desired version:
# See list here: https://github.com/orgs/ublue-os/packages?repo_name=main
# - "silverblue"
@ -36,9 +38,8 @@ ARG SOURCE_IMAGE="base"
ARG SOURCE_SUFFIX="-nvidia"
## SOURCE_TAG arg must be a version built for the specific image: eg, 39, 40, gts, latest
ARG SOURCE_TAG="latest"
ARG SOURCE_TAG="${FEDORA_MAJOR_VERSION}"
ARG FEDORA_MAJOR_VERSION="${FEDORA_MAJOR_VERSION:-40}"
### 2. SOURCE IMAGE
## this is a standard Containerfile FROM using the build ARGs above to select the right upstream image