Overview
migetpacks records who built an image and from which commit, then exposes that on four surfaces:- The
buildblock in the result JSON. - OCI image labels you can read with
docker inspectwithout running the image. - An in-image file
/.miget/build.json(buildpack builds). MIGET_*build args for custom Dockerfile and Compose builds.
Sources
Each field resolves by precedence, highest first:- The
build-metainput envelope (set by the platform). MIGET_GIT_*orSOURCE_VERSIONenvironment variables, for standalonedocker runor CI builds..gitautodetection of the source directory.
OCI labels
In-image file
Buildpack builds include/.miget/build.json, useful when you prefer a file
over environment variables or run a distroless image with no shell: