Page MenuHomeDevCentral

Update Docker Hub builds format from tokens to trigger URL
Open, NormalPublic

Description

Docker Hub changed the system to trigger a new build, with an URL using the following format:

https://hub.docker.com/api/build/v1/source/<source>/trigger/<trigger>/call/

The source is common for all triggers for a repository, while the the trigger are unique.

Tokens aren't used anymore (was for "API v1")

Event Timeline

dereckson triaged this task as Normal priority.Mar 31 2023, 22:40
dereckson created this task.

We still use that for rNOTIF and rGROVE AFAIK, so I provisioned their secrets in Vault at apps/notifications-center/dockerhub/

apps/ is used instead of ops/, as plan is to switch from on-disk files to Vault queries for credentials in a next iteration.

Code is ready both for Notifications and keruald/dockerhub, should be tested with the next build we want to promote before merging.

dereckson removed dereckson as the assignee of this task.Mon, Mar 23, 09:23

Unassigning this task to make it available for others.

As I'm not currently working actively on this issue, reset the assignee.

Contributions opportunity. If you’re interested, go ahead and assign yourself. I’m available to share context, review early approaches, or pair if helpful—just tag me.