Closed mmacata closed 3 years ago
Hey, thanks for this. I have no strong preference on either of the points. I think an openEO docker org could be beneficial in the future though, but having it in the mundialis org is also fine. Do you need new permissions to add the secrets? I'm happy to set those. Just do what is the easiest to maintain for you.
Ok, then I leave it with mundialis/openeo-web-editor
and use the more general mundialisdev
for creation. I have enough permissions, so I could add the secrets myself. Dockerhub organisation and user can of course be changed anytime if it should fit better, but currently it is the easiest to maintain for me.
Draft status is therefore resolved, please approve if I should merge.
Thanks, I forgot: Could you add a chapter about this to the README? That says that there's a Docker image for this, where to find it, how to get started with it, and that you/mundialis maintains it? @mmacata Feel free to just commit without a PR.
Yes I will. First run was successful:
README is updated. Please check if this is fine for you and modify (or tell me) if needed.
Thanks, that's all good!
This PR adds a github action to build and push the Dockerimage from this repository to Dockerhub. It contains a workflow which runs for push to master branch and creation of releases.
For this workflow to work, credentials to dockerhub are needed. In the repository settings the secrets DOCKERHUB_TOKEN and DOCKERHUB_USERNAME would need to be created. For the values I would be willing to store mine (mmacata) or these of a machine user we use (mundialisdev) so no extra setup would be required but if it suits better, a new / different user can be created of course. The user is shown in Dockerhub, like it can be seen here for tag
sha-2da70e0
.As docker repository, I used mundialis/openeo-web-editor, as this was the repository which had autobuild set up before and appeared in the checks for commits / pull requests in the past and I have access to. On Dockerhub I found no gerneral openeo organization but
openeor
andopeneobs
.openeor
looks like specific tor
Code andopeneobs
was updated last 3 years ago. So here - as well as with credentials - if it suits better, another repository can be used but I don't know which would fit. It is also possible to create anopeneo
organization on Dockerhub, if other repositories from openeo will benefit from it as well!?I marked this PR as draft until the question about credentials is solved. Before any are added, this check would fail and should therefore not be merged.