Skip to content

Commit 6b8d336

Browse files
committed
fix: just syntax
1 parent e6b082e commit 6b8d336

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Justfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ export brew_image := env("BREW_IMAGE", "ghcr.io/ublue-os/brew")
88
export coreos_stable_version := env("COREOS_STABLE_VERSION", "42")
99
just := just_executable()
1010
arch := arch()
11-
export platform := env("PLATFORM", if arch == "x86_64" { if `rpm -q kernel 2>/dev/null | grep -q "x86_64_v2$"; echo $?` == "0" { "linux/amd64/v2" } else { "linux/amd64" } } else { if arch == "arm64" { "linux/arm64" } else { if arch == "aarch64" { "linux/arm64" } else { error("Unsupported ARCH '" + arch + "'. Supported values are 'x86_64', 'aarch64', and 'arm64'.") } } })
11+
export platform := env("PLATFORM", if arch == "x86_64" { if `rpm -q kernel 2>/dev/null | grep -q "x86_64_v2$"; echo $?` == "0" { "linux/amd64/v2" } else { "linux/amd64" } } else if arch == "arm64" { "linux/arm64" } else if arch == "aarch64" { "linux/arm64" } else { error("Unsupported ARCH '" + arch + "'. Supported values are 'x86_64', 'aarch64', and 'arm64'.") })
1212

1313
# --- Default Base Image (for 'base' flavor builds) ---
1414

0 commit comments

Comments
 (0)