spliit icon indicating copy to clipboard operation
spliit copied to clipboard

Deploy docker image to docker hub

Open Max-TheCat opened this issue 2 years ago • 3 comments

  • Decide on an action to trigger deployment (merge to a release branch, tag creation, manual run)
  • Validate version number is unique
  • @scastiel would have to create a docker hub account and store credentials in private variable that are accessible from the pipeline
  • [Optional] Have two release channels (nightly and official releases)
  • Push to docker hub
  • [Optional] Add image to GitHub releases

Max-TheCat avatar Jan 25 '24 17:01 Max-TheCat

See my comments in #56 regarding database url Env variables being used at build times

ChristopherJohnston avatar Jan 25 '24 18:01 ChristopherJohnston

Was looking at opening a PR here to add a workflow to build and push the image on Docker Hub and GHCR but it needs several changes I'm not sure maintainers would accept.

Anyway I have created this repo https://github.com/crazy-max/docker-spliit to build and push a multi-platform image of Spliit.

@scastiel @justcallmelarry Let me know if you would be interested by a PR. I see https://github.com/spliit-app/spliit/issues/56 is being worked on so not quite sure.

crazy-max avatar Jun 02 '24 17:06 crazy-max

Any update on this? It would be really nice to publish the image to docker hub or ghcr. A lot of people selfhost using docker and this would be really useful.

As far as I can see there is already a Dockerfile inside the project so adaptations to push this to ghcr would be minimal. I could implement this if this is wanted by the project.

Quadrubo avatar Dec 22 '24 16:12 Quadrubo