roocs / rook

A Web Processing Service for roocs: remote operations on climate simulations.
https://rook-wps.readthedocs.io/en/latest/
Apache License 2.0
5 stars 6 forks source link

Upload image to Dockerhub #252

Open huard opened 4 months ago

huard commented 4 months ago

Description

We can push the Rook docker image to Dockerhub, but this will require granting admin permissions to @tlvu momentarily.

cehbrecht commented 4 months ago

@huard I have invited @tlvu to rook as admin.

tlvu commented 4 months ago

@cehbrecht could you give admin to this user dockerhub-ouranos-crim-bot instead? I completely forgot we had a specific user for this kind of task so it is more secure than using a personal account.

tlvu commented 4 months ago

@cehbrecht I forgot you gave me admin already so I've added github user dockerhub-ouranos-crim-bot to this repo myself.

However I am still unable to see this repo on DockerHub side to configure the automated build.

I think user dockerhub-ouranos-crim-bot has to also be added to your roocs github organization. Currently it is only an "external collaborator". For this part, I can not do it myself.

cehbrecht commented 4 months ago

@tlvu I have invited you to the roocs team ... not sure how to convert "outside collaborators" to "members" in rook.

tlvu commented 4 months ago

The Dockerhub account is still unable to see this repo. This is unexpected. I'll have to investigate further.

tlvu commented 2 months ago

@cehbrecht I've done some research and apparently DockerHub needs to also be granted access to the entire organization following this documentation https://docs.docker.com/docker-hub/builds/link-source/#grant-access-to-a-github-organization.

For your org it should be at this link https://github.com/organizations/roocs/settings/oauth_application_policy.

It should look like below if there are no restrictions, else please explicitely allow DockerHub thirdparty app. Screenshot from 2024-09-16 15-02-59