refactor: simplify some variable names
This commit is contained in:
parent
2a26bae17c
commit
0752d0772f
3 changed files with 26 additions and 25 deletions
|
@ -4,20 +4,20 @@
|
|||
## workflow provides them when building in Github Actions. Changes to the workflow
|
||||
## build.xml will override changes here.
|
||||
|
||||
## IMAGE_NAME arg can be anything from ublue upstream: silverblue, kinoite, sericea, vauxite, mate, lxqt, base
|
||||
ARG IMAGE_NAME="silverblue"
|
||||
## IMAGE_SUFFIX arg should be "main", nvidia users should use "nvidia"
|
||||
ARG IMAGE_SUFFIX="main"
|
||||
## FEDORA_MAJOR_VERSION arg must be a version built by ublue: 37 or 38 as of today
|
||||
ARG FEDORA_MAJOR_VERSION="38"
|
||||
## NVIDIA_MAJOR_VERSION should only be changed if the user needs a specific nvidia driver version
|
||||
## SOURCE_IMAGE arg can be anything from ublue upstream: silverblue, kinoite, sericea, vauxite, mate, lxqt, base
|
||||
ARG SOURCE_IMAGE="silverblue"
|
||||
## SOURCE_SUFFIX arg should be "main", nvidia users should use "nvidia"
|
||||
ARG SOURCE_SUFFIX="main"
|
||||
## FEDORA_VERSION arg must be a version built by ublue: 37 or 38 as of today
|
||||
ARG FEDORA_VERSION="38"
|
||||
## NVIDIA_VERSION should only be changed if the user needs a specific nvidia driver version
|
||||
## if needing driver 535, this should be set to "-535". It is important to include the hyphen
|
||||
ARG NVIDIA_MAJOR_VERSION=""
|
||||
ARG NVIDIA_VERSION=""
|
||||
|
||||
|
||||
### 2. SOURCE IMAGE
|
||||
## this is a standard Containerfile FROM using the build ARGs above to select the right upstream image
|
||||
FROM ghcr.io/ublue-os/${IMAGE_NAME}-${IMAGE_SUFFIX}:${FEDORA_MAJOR_VERSION}${NVIDIA_MAJOR_VERSION}
|
||||
FROM ghcr.io/ublue-os/${SOURCE_IMAGE}-${SOURCE_SUFFIX}:${FEDORA_VERSION}${NVIDIA_VERSION}
|
||||
|
||||
|
||||
### 3. PRE-MODIFICATIONS
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue