This repository has been archived by the owner on Jul 17, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build: Add suffix to OCI image tag for GCC build
This commit introduces optional suffixes to the name of the OCI image names which are added during the CI/CD pipelines to uniquely identify PRs as well as the auxilary non-stable branches, such as `staging`. With this suffix, we can inject and reference a bespoke OCI image. Signed-off-by: Alexander Jung <[email protected]>
- Loading branch information
Showing
2 changed files
with
7 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -31,12 +31,13 @@ | |
|
||
ARG UK_ARCH=x86_64 | ||
ARG GCC_VERSION=9.2.0 | ||
ARG GCC_SUFFIX= | ||
ARG QEMU_VERSION=4.2.0 | ||
|
||
FROM unikraft/gcc:${GCC_VERSION}-x86_64 AS gcc-x86_64 | ||
FROM unikraft/gcc:${GCC_VERSION}-arm AS gcc-arm | ||
FROM unikraft/gcc:${GCC_VERSION}-arm64 AS gcc-arm64 | ||
FROM unikraft/qemu:${QEMU_VERSION} AS qemu | ||
FROM unikraft/gcc:${GCC_VERSION}-x86_64${GCC_SUFFIX} AS gcc-x86_64 | ||
FROM unikraft/gcc:${GCC_VERSION}-arm${GCC_SUFFIX} AS gcc-arm | ||
FROM unikraft/gcc:${GCC_VERSION}-arm64${GCC_SUFFIX} AS gcc-arm64 | ||
FROM unikraft/qemu:${QEMU_VERSION} AS qemu | ||
|
||
LABEL MAINTAINER="Alexander Jung <[email protected]>" | ||
|
||
|