5a15d606a7 | ||
---|---|---|
.. | ||
README.md | ||
dockerhub_webhooks.go | ||
dockerhub_webhooks_mocks.go | ||
dockerhub_webhooks_models.go | ||
dockerhub_webhooks_test.go |
README.md
Docker Hub Webhook
Docker Hub can be configured to send events to Webhooks. The page describes the JSON format of the events:
https://docs.docker.com/docker-hub/webhooks/
Webhooks are configured by repository:
https://hub.docker.com/r/User/[Repository]]/~/settings/webhooks/
Events
An event is generated by Docker Hub as the result of a docker push to the repository.
dockerhub_event
The measurement is called "dockerhub"
Tags:
-
'description' =
repository.description
string -
'name' =
repository.name
string -
'namespace' =
repository.namespace
string -
'owner' =
repository.owner
string -
'repo_name' =
repository.repo_name
string -
'repo_url' =
repository.repo_url
string -
'status' =
repository.status
string -
'pusher' =
push_data.pusher
string -
'tag' =
push_data.tag
string
Fields:
-
'comment_count' =
repository.comment_count
int -
'date_created' =
repository.date_created
int64 -
'is_official' =
repository.is_official
bool -
'is_private' =
repository.is_private
bool -
'is_trusted' =
repository.is_trusted
bool -
'star_count' =
repository.stat_count
int -
'pushed_at' =
push_data.psuhed_at
int64