manulera / ShareYourCloning

A web application to generate molecular cloning strategies in json format, and share them with others.
MIT License
18 stars 3 forks source link

Automate docker hub update #25

Open NicolasCARPi opened 2 weeks ago

NicolasCARPi commented 2 weeks ago

Currently the Action can only be manually triggered. It would be best to automatically publish a :latest on all commits to master and tagged versions when you publish tags/releases (+ optionally a stable tag for the stable releases).

manulera commented 1 week ago

Hi @NicolasCARPi I did this today.

The way it works is:

In this repository, for the image that combines both frontend and backend, it's similar but I will still trigger the releases by hand, just to make sure that both frontend and backend are in sync with each other, so you can use latest and prod as before, as well as the release tag. Also, the release contains info of the release tags of backend and frontend.

A bit confusing admittedly but I think the tags in docker-hub are self-explaining:

https://hub.docker.com/repository/docker/manulera/shareyourcloning/tags

manulera commented 1 week ago

You can also access the version in the app now:

https://shareyourcloning.org/ At about > App version

And in the API:

https://shareyourcloning.api.genestorian.org/version