tilemaker icon indicating copy to clipboard operation
tilemaker copied to clipboard

Add automatic push to Dockerhub

Open leonardehrenfried opened this issue 2 years ago • 6 comments

This automatically builds a docker image and pushes it to my personal Dockerhub account on each push to systemed/master.

If you don't want to use lehrenfried/tilemaker, I'm happy to help setting up the account. Let me know what you would like to do.

Note: This requires a Github Action secret called DOCKERHUB_TOKEN. Once we've decided on a course of action, I will get the token to you.

/cc @guillaumerose

leonardehrenfried avatar Jan 19 '22 17:01 leonardehrenfried

btw, we can use ghcr.io instead of Dockerhub.

vinayakkulkarni avatar Jun 15 '22 11:06 vinayakkulkarni

Hi @systemed, is there any interest in providing a container image on every push to master?

leonardehrenfried avatar Aug 01 '22 08:08 leonardehrenfried

Sounds fine. I have close to zero knowledge of Docker so if people tell me that something is good or not then I'm happy to go with that!

systemed avatar Aug 01 '22 08:08 systemed

It does require that you add a secret variable to your Github Actions configuration. Are you ok with this?

And then there is the question of which account this should be published to. I'm happy to use my personal account to ease the maintenance burden for you but I'm also happy to set up an account for systemed or tilemaker.

leonardehrenfried avatar Aug 01 '22 09:08 leonardehrenfried

btw, we can use ghcr.io instead of Dockerhub.

That is an option but it's quite restricted in terms of bandwidth and storage so I don't really recommend it.

leonardehrenfried avatar Aug 01 '22 09:08 leonardehrenfried