Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion .github/workflows/publish-townhouse-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -196,12 +196,20 @@ jobs:
MILL_DIGEST=$(cat /tmp/digests/digest-mill/digest-mill.txt)
DVM_DIGEST=$(cat /tmp/digests/digest-dvm/digest-dvm.txt)

# Resolve connector digest via buildx imagetools (handles OCI image index
# correctly — docker manifest inspect doesn't expose the index digest directly)
CONNECTOR_TAG="${{ inputs.connector_version || '3.4.1' }}"
CONNECTOR_DIGEST=$(docker buildx imagetools inspect \
"ghcr.io/toon-protocol/connector:${CONNECTOR_TAG}" \
--format '{{.Manifest.Digest}}')

# Install zod for manifest schema validation (used by the script)
npm install --no-save zod@3

node scripts/build-image-manifest.mjs \
--townhouse-version "${{ steps.version.outputs.version }}" \
--connector-tag "${{ inputs.connector_version || '3.4.1' }}" \
--connector-tag "${CONNECTOR_TAG}" \
--connector-digest "${CONNECTOR_DIGEST}" \
--townhouse-api-digest "$TOWNHOUSE_API_DIGEST" \
--town-digest "$TOWN_DIGEST" \
--mill-digest "$MILL_DIGEST" \
Expand Down
Loading