DavidHe1127 / docker-images-monorepo

🐳🐍*9 Demonstrate how Lerna can help with managing and versioning multiple docker images independently - monorepo.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

docker-images-monorepo

It demonstrates independent version calculations against multiple docker images managed by Lerna. It however DOES NOT cover image release process.

How to test it?

  • Run yarn from root to install deps.
  • Make a change in Dockerfile inside either lambda or node directory.
  • Submit a commit that follows conventional commit criteria.
  • From project root, run task build_and_publish_image.

You will see what's been changed and associated version for next release.

Note

  • If change does not require a new release of image, don't use conventional commits.
  • Version Bump/Release tagging SHOULD ONLY happen on main branch unless it's prerelease. In other words, main and prerelease should have different release channels.

Lerna

  • By default, lerna version will push the committed and tagged changes to the configured git remote. Pass --no-push to disable this behavior.

About

🐳🐍*9 Demonstrate how Lerna can help with managing and versioning multiple docker images independently - monorepo.


Languages

Language:Shell 73.7%Language:Dockerfile 26.3%