Skip to content

๐Ÿณ๐Ÿ*9 Demonstrate how Lerna can help with managing and versioning multiple docker images independently - monorepo.

Notifications You must be signed in to change notification settings

DavidHe1127/docker-images-monorepo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

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.

Resources

Stars

Watchers

Forks

Packages

No packages published