Docker Hub
Docker Hub is an online registry for storing, sharing, and distributing Docker container images.
- Base URL:
https://hub.docker.com - Auth:
bearer(pass your key via theapiKeyinput)
Operations
get_v2_access_tokens— GET /v2/access-tokens — Get a list of personal access tokensget_v2_access_tokens_uuid— GET /v2/access-tokens/{uuid} — Get a personal access tokenauditlogs_getauditlogs— GET /v2/auditlogs/{account} — Returns list of audit log events.auditlogs_getauditactions— GET /v2/auditlogs/{account}/actions — Returns list of audit log actions.getnamespacesrepositoriesimages— GET /v2/namespaces/{namespace}/repositories/{repository}/images — Get details of repository's imagesgetnamespacesrepositoriesimagessummary— GET /v2/namespaces/{namespace}/repositories/{repository}/images-summary — Get summary of repository's images
Inputs
apiKey— your docker-hub API keyoperation— one of the operations above- path parameters when an operation's path contains
{...} query— optional JSON object of query paramsbody— JSON object for create/update ops
Example
operation: get_v2_access_tokens
apiKey: <your key>
Publishes
The keys a later task may reference as {{taskName.key}}. Referencing anything not listed here resolves to nothing at run time.
erroroperationresultstatus
Input Properties
Every property this tool accepts, from its own tool.iml.
| Property | Type | Required | Default | Description |
|---|---|---|---|---|
apiKey |
string | yes | — | DEPRECATED — bind an API Key credential to the task with credentialName instead. A key pasted here is stored in the workflow definition in clear and appears in every export of it. Still honoured for workflows built before the change. |
operation |
string | yes | — | One of: get_v2_access_tokens, get_v2_access_tokens_uuid, auditlogs_getauditlogs, auditlogs_getauditactions, getnamespacesrepositoriesimages, getnamespacesrepositoriesimagessummary |
account |
string | no | — | Path parameter account (required by some operations). |
namespace |
string | no | — | Path parameter namespace (required by some operations). |
repository |
string | no | — | Path parameter repository (required by some operations). |
uuid |
string | no | — | Path parameter uuid (required by some operations). |
query |
string | no | — | Optional query params as a JSON object string, e.g. {"limit": 10}. |