Overview
WhenRESULT_FILE is set, migetpacks writes a JSON file containing build metadata after every build. This file is used by post-build steps (e.g., deployment pipelines, notification services) to determine build status and access image information.
The builder always exits with code 0 to ensure post-build steps (like Shipwright callbacks or sidecar containers) always execute. Check the
status field in the result JSON to determine if the build actually succeeded or failed.Schema
images
processes
Parsed from the application’s Procfile:web— the primary web process (fromRUN_COMMAND, Procfileweb:, or language default)release— one-time release command (e.g., database migrations)workers— background worker processes (all non-web, non-release Procfile entries)
env
Environment variables defined inapp.json:
- Variables with
"generator": "secret"have auto-generated values - Variables with
"value": "..."use the specified value - Variables with
"required": truearenull(must be provided at deploy time)
formation
Process configuration fromapp.json:
scripts
Deployment scripts fromapp.json:
addons
Service dependencies fromapp.json:
plan— the addon plan identifieras— attachment alias (overrides config var prefix), ornulloptions— provider-specific options object, ornull
_shell
Indicates whether the runtime container has a shell available:_shell is false (DHI/distroless images), deployment systems should:
- Use exec format for commands (no
/bin/sh -cwrapper) - Pre-expand shell variables like
${PORT:-5000} - Avoid relying on shebangs in scripts