mirror of
https://github.com/nestriness/nestri.git
synced 2025-12-11 00:05:36 +02:00
## Description Next step would be having full DE environment variant I guess? I'll see later if it's doable in this PR or if I'll do separate one for keeping things small and manageable for once 😅 - Added easily doable variants for runners, with simple CI build matrix. - Added playsite in CI builds finally. - Some CI formatting and naming fixes. - Removed PR full runner builds as they kept failing due to lack of disk space on GH runner. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * New dedicated runner images for Steam, Heroic, and Minecraft plus a common runtime and builder images. * **Chores** * CI/workflow reorganization to build and publish more runner variants and base images. * Installer and package tweaks (package manager flags, CUDA enablement) and updated build tooling. * Unified startup to use a constructed launch command; removed two default environment exports. * Added container ignore patterns. <sub>✏️ Tip: You can customize this high-level summary in your review settings.</sub> <!-- end of auto-generated comment: release notes by coderabbit.ai --> --------- Co-authored-by: DatCaptainHorse <DatCaptainHorse@users.noreply.github.com>
33 lines
796 B
HCL
33 lines
796 B
HCL
variable "BASE_IMAGE" {
|
|
default = "docker.io/cachyos/cachyos:latest"
|
|
}
|
|
|
|
group "default" {
|
|
targets = ["runner-base", "runner-builder"]
|
|
}
|
|
|
|
target "runner-base" {
|
|
dockerfile = "containerfiles/runner-base.Containerfile"
|
|
context = "."
|
|
args = {
|
|
BASE_IMAGE = BASE_IMAGE
|
|
}
|
|
cache-from = ["type=gha,scope=runner-base-pr"]
|
|
cache-to = ["type=gha,scope=runner-base-pr,mode=max"]
|
|
tags = ["runner-base:latest"]
|
|
}
|
|
|
|
target "runner-builder" {
|
|
dockerfile = "containerfiles/runner-builder.Containerfile"
|
|
context = "."
|
|
args = {
|
|
RUNNER_BASE_IMAGE = "runner-base:latest"
|
|
}
|
|
cache-from = ["type=gha,scope=runner-builder-pr"]
|
|
cache-to = ["type=gha,scope=runner-builder-pr,mode=max"]
|
|
tags = ["runner-builder:latest"]
|
|
contexts = {
|
|
runner-base = "target:runner-base"
|
|
}
|
|
}
|