You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Build-arg credentials are no longer saved on the container. Earlier versions stored every Dockerfile build-arg value in the ingot.project.build_args label, so a GITHUB_TOKEN or similar could be read by anything with Docker access (docker inspect). Args whose names look like credentials (*TOKEN*, *SECRET*, *PASSWORD*, COMPOSER_AUTH, SSH_KEY, GH_PAT, ...) are now stored by name only, and their values reach docker build through its environment rather than its command line. (#14)
ingot doctor warns when a project's container still holds a credential stored by an older version.
Changes
ingot rebuild asks for credential build args again, or reads them from INGOT_BUILD_ARG_<NAME> (e.g. INGOT_BUILD_ARG_GITHUB_TOKEN). The first-run prompt uses that variable too when it's set.
ingot env set, ingot php, ingot server-root and ingot idle now reuse a Dockerfile project's built image instead of rebuilding it each time. Run ingot rebuild after editing the Dockerfile.
Upgrade notes
If you've used a Dockerfile project with a token build arg, revoke that token: it has been readable from docker inspect. Then run ingot rebuild in the project. It asks for the new value, doesn't save it, and rewrites the label without the old one. ingot doctor lists the projects that need this.