refactor: use repo name as default image name

Also makes the source image's tag easier to understand in the
Containerfile.
This commit is contained in:
Benjamin Sherman 2024-04-22 23:02:56 -05:00
parent 13e83d301d
commit a028476810
No known key found for this signature in database
GPG key ID: 24E3D151565CA98B
3 changed files with 6 additions and 6 deletions

View file

@ -35,13 +35,13 @@ ARG SOURCE_IMAGE="silverblue"
# - (and the above with testing rather than stable)
ARG SOURCE_SUFFIX="-main"
## FEDORA_VERSION arg must be a version built by ublue: eg, 39 or 40
ARG FEDORA_VERSION="39"
## SOURCE_TAG arg must be a version built for the specific image: eg, 39, 40, gts, latest
ARG SOURCE_TAG="latest"
### 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/${SOURCE_IMAGE}${SOURCE_SUFFIX}:${FEDORA_VERSION}
FROM ghcr.io/ublue-os/${SOURCE_IMAGE}${SOURCE_SUFFIX}:${SOURCE_TAG}
### 3. MODIFICATIONS