mirror of
https://github.com/hanzoai/pack.git
synced 2026-09-30 23:43:13 +00:00
PRODUCTION_GITHUB_REPOSITORY was still hardcoded to the upstream org/repo, so every derived name (builder, runtime, frontend image) resolved under ghcr.io/railwayapp/*. Flipping this one knob is enough: the existing template arithmetic in mise.ci.toml already produces ghcr.io/hanzoai/pack-builder, ghcr.io/hanzoai/pack-runtime, and ghcr.io/hanzoai/pack-frontend from it, matching how the rest of the repo (hanzo.yml, README, go.mod) already names this project. Also pins goreleaser's project_name explicitly instead of leaving it to implicit directory-name inference, since install.sh's download URL has to agree with whatever name goreleaser gives its release archives. Removes an unused IMAGE_NAME env var left over in the publish-runtime job. This does not yet change what `pack build` pulls at runtime (core/generate and core/plan still point at railwayapp) or install.sh (hanzoai/pack has no releases yet) -- both wait on this pipeline actually publishing once. Co-authored-by: Hanzo Dev <[email protected]>
25 lines
1.1 KiB
TOML
25 lines
1.1 KiB
TOML
# define all required variables for CI, so we can limit the configuration and logic within GHA to test more of the CI process locally
|
|
|
|
[env]
|
|
# Check https://docs.docker.com/engine/release-notes/ for newer stable releases.
|
|
DOCKER_VERSION = "v29.6.2"
|
|
|
|
PRODUCTION_CONTAINER_REGISTRY = "ghcr.io"
|
|
PRODUCTION_GITHUB_REPOSITORY = "hanzoai/pack"
|
|
PRODUCTION_MISE_TAG = "mise-${RAILPACK_MISE_VERSION}"
|
|
|
|
PRODUCTION_BUILDER_IMAGE_NAME = "${PRODUCTION_CONTAINER_REGISTRY}/${PRODUCTION_GITHUB_REPOSITORY}-builder"
|
|
PRODUCTION_BUILDER_IMAGE_REF = "${PRODUCTION_BUILDER_IMAGE_NAME}:${PRODUCTION_MISE_TAG}"
|
|
|
|
PRODUCTION_RUNTIME_IMAGE_NAME = "${PRODUCTION_CONTAINER_REGISTRY}/${PRODUCTION_GITHUB_REPOSITORY}-runtime"
|
|
PRODUCTION_RUNTIME_IMAGE_REF = "${PRODUCTION_RUNTIME_IMAGE_NAME}:${PRODUCTION_MISE_TAG}"
|
|
|
|
PRODUCTION_FRONTEND_IMAGE_NAME = "${PRODUCTION_CONTAINER_REGISTRY}/${PRODUCTION_GITHUB_REPOSITORY}-frontend"
|
|
|
|
[settings]
|
|
# intermittent failures on CI are a big time suck, let's be generous with our installation retries
|
|
http_retries = 5
|
|
|
|
# require URLs to be present in the mise.lockfile to ensure there is consistent versions used across CI runs
|
|
locked = true
|