Closes the cache trap structurally for this template — same fix already shipped in claude-code + hermes. publish-image.yml caller forwards client_payload.runtime_version (set by cascade) to the molecule-ci reusable workflow as runtime_version input. Reusable workflow forwards it to docker build as a --build-arg. Dockerfile declares ARG RUNTIME_VERSION before the pip install layer so cache key is sensitive to the version. The pip install RUN does an extra targeted upgrade to guarantee the exact version when ARG is set. Pairs with molecule-ci PR #12 + molecule-core PR #2181. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| ci.yml | ||
| publish-image.yml | ||