mirror of
https://github.com/toyota-connected/emb_cli.git
synced 2026-06-21 07:19:37 -07:00
802ebe5b6f
The publish skip-on-exists keyed only on sysroot_key, which omits the baked toolset (the Dockerfile's base image, apt list, and slim prune list). A toolset change with an unchanged sysroot (e.g. adding build-essential) left the old image in place — skip-on-exists matched and never rebuilt. The published image's primary tag is now `<sysrootKey>-<toolsetHash>`, where the toolset hash covers the emitted Dockerfile + .dockerignore (ToolchainImage. tagFor/imageTag). An emitter/toolset change yields a new tag, so publish rebuilds and re-points the aliases. The baked in-image paths stay keyed by sysrootKey, so a consume build still cache-hits; the build matrix references the moving :<os> alias, so it always gets the latest image. Signed-off-by: Joel Winarske <joel.winarske@gmail.com>