# Min just version 1.46.0 https://github.com/casey/just/issues/2290 export repo_organization := env("GITHUB_REPOSITORY_OWNER", "ublue-os") export base_image_org := env("BASE_IMAGE_ORG", "quay.io/fedora-ostree-desktops") export base_image_name := env("BASE_IMAGE_NAME", "kinoite") stable_version := "44" latest_version := "44" testing_version := "44" images := '( [aurora]=aurora [aurora-dx]=aurora-dx )' flavors := '( [main]=main [nvidia-open]=nvidia-open )' tags := '( [stable]=stable [latest]=latest [testing]=testing )' # Build Containers chunkah := shell("yq -r \".images[] | select(.name == \\\"chunkah\\\") | \\\"\\\\(.image)@\\\\(.digest)\\\"\" image-versions.yml") common := shell("yq -r \".images[] | select(.name == \\\"common\\\") | \\\"\\\\(.image)@\\\\(.digest)\\\"\" image-versions.yml") brew := shell("yq -r \".images[] | select(.name == \\\"brew\\\") | \\\"\\\\(.image)@\\\\(.digest)\\\"\" image-versions.yml") export SUDO_DISPLAY := if `if [ -n "${DISPLAY:-}" ] || [ -n "${WAYLAND_DISPLAY:-}" ]; then echo true; fi` == "true" { "true" } else { "false" } export SUDOIF := if `id -u` == "0" { "" } else { "sudo" } export PODMAN := "podman" export BUILDAH := "buildah" just := just_executable() # Define a retry function for use in recipes retry_function := ' retry() { if [[ "${#}" -lt 3 ]]; then echo "retry usage: