This ties pushing to Dockerhub with the process of creating a tag in …#140
This ties pushing to Dockerhub with the process of creating a tag in …#140
Conversation
…Github, which should help us keep our Releases up to date.
|
And of course "SmuiVersionSpec" failed because to pass we have to bump every branch... With this in place, we can increment build.sbt version once, and all branches pick it up... and then merge to main regularly, and THEN do the tag/push to DockerHub! |
|
I would suggest an alternative strategy: We simply protect branch |
|
Both approaches (merging to main but only releasing by pushing a tag, merging to main and always releasing directly) work. We use the first one in the elasticsearch-ltr plugin actions. The latter brings real CI/CD but can have the drawback that every minor release gets its own Docker image tag and you need some cleanup policies in your Docker repo. Probably not a problem with SMUI (relatively little development, compressed image size 200MB) but can be with software that gets 10 merges to master a day. |
…Github, which should help us keep our Releases up to date.
This also runs the test and build phase on any branch created, which is good for testing.