Add GH action to periodically build docker images#455
Conversation
jacobtomlinson
left a comment
There was a problem hiding this comment.
This looks great.
I've created us a bot user on Docker hub called daskbot and populated the secrets in GitHub.
lesteve
left a comment
There was a problem hiding this comment.
Thanks a lot @andersy005 for this PR! And thanks @jacobtomlinson for doing the missing bits (I wasn't sure whether there was already a specific user or people were using their user credentials for this ...).
A few questions:
- is there a way to test this prior to merge?
- once it is merged is there a way to trigger the cron GH action manually or should we just wait until the next scheduled time?
I think we have a range of credentials being used in various places. I'm slowly trying to standardise things to try and drop reliance on specific maintainer accounts.
It may be good to add |
|
I think we have a bit of a weird setup and I am not sure how to simplify it and how to make it play well with GH actions.
|
It's my understanding that
|
|
Checking in here. I am curious whether there are any additional issues/tasks this PR needs to address before getting merged? |
|
Sorry @andersy005 for the delay, I did not follow this change, and it's a bit complicated to get into... I'll wait one more week for @lesteve, and then I'll try to look closer. At one point, we might want to make you a maintainer of this repo too. |
|
Sorry I didn't have much time to devote to dask-jobqueue unfortunately. I am going to merge this one and see what happens.
100% agreed, I sent you an invitation @andersy005! |
|
AFAICT this seems to be working fine, see https://github.com/dask/dask-jobqueue/actions?query=workflow%3Adocker-images-build and https://hub.docker.com/r/daskdev/dask-jobqueue/tags |
|
Actually I noticed that the images don't get pushed for scheduled events, e.g. https://github.com/dask/dask-jobqueue/runs/1190757827. I am guessing the condition needs to be changed: |
Fixes #433 and amends #432
For this action to work properly, we need to set both the DOCKER_USERNAME, DOCKER_PASSWORD secrets in the repo settings. However, I currently don't have admin rights on this repo.