odpi/egeria-ui

Create stable releases (inc. docker images)

planetf1 opened this issue · 3 comments

When we release Helm charts including both the Egeria UI & Egeria for a release like 3.2, 3.3, we need to be able
to point to a 'fixed' version of the UI code to run

The version is specified in package.json - and this is also used by the docker build
Currently this is set to 3.0.1

However a github release of 3.0.1 was made in August.

What we need is for the version to be incremented in package.lock immediately after the github release.
Additionally until ready to release we should mark it as a prerelease (ie 3.0.2-rc.0 or similar), only changing to a fixed release at the final moment.

This way we can have a stable github release, and a stable docker image to be consumed by our helm charts (and other users)

@planetf1 when we release, isn't it enough to add the same version also in the Dockerfile?

The tag used for the docker build is pulled directly from package.json - so whatever is there will be used
When building in main/master we also tag with 'latest' currently

this should be fixed by #261, no docker image is being updated now unless there is a new version in package.json which ends up creating a new docker image with newer version