release: point published images at hanzoai/pack, not railwayapp/railpack

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]>
This commit is contained in:
2026-09-04 02:27:21 -07:00
co-authored by Hanzo Dev
parent 5a8a970b16
commit 881e26fabf
3 changed files with 5 additions and 3 deletions
-2
View File
@@ -58,8 +58,6 @@ jobs:
publish-runtime:
runs-on: ubuntu-latest
env:
IMAGE_NAME: ${{ github.repository }}-runtime
steps:
# duplicated on the integration-tests.yml job, keep these in sync
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
+4
View File
@@ -1,6 +1,10 @@
# run automatically when a tag is created by the release.yml workflow
version: 2
# pinned explicitly: archive names derive from this, and install.sh depends
# on that name matching its own REPO_NAME
project_name: pack
# TODO replace with a `go mod tidy -check` when go is upgraded
before:
hooks:
+1 -1
View File
@@ -5,7 +5,7 @@
DOCKER_VERSION = "v29.6.2"
PRODUCTION_CONTAINER_REGISTRY = "ghcr.io"
PRODUCTION_GITHUB_REPOSITORY = "railwayapp/railpack"
PRODUCTION_GITHUB_REPOSITORY = "hanzoai/pack"
PRODUCTION_MISE_TAG = "mise-${RAILPACK_MISE_VERSION}"
PRODUCTION_BUILDER_IMAGE_NAME = "${PRODUCTION_CONTAINER_REGISTRY}/${PRODUCTION_GITHUB_REPOSITORY}-builder"