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 1 month ago

NicolasCARPi commented 1 month 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 4 weeks 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 4 weeks 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

manulera commented 2 weeks ago

Hey @NicolasCARPi how is it going? Do you think you can give me a version to start from sometime soon?

NicolasCARPi commented 2 weeks ago

I will come back to you soon, yes.