← Integrations catalog

Docker Hub

v1.0.0 dockerhub 5.5 KB 6 connectors

Package for Flow Manager

pack-dockerhub.usint

SHA-256 · 315a563ab56b…

Download .usint

About Docker Hub and the integration

Docker Hub is the leading cloud container registry for finding, storing and distributing Docker images. The platform is the de facto standard for CI/CD processes and for hosting public and private repositories of microservice architectures.

The UniShift Flow Manager connector package works with the Docker Hub HTTP REST API v2 with token and credential authorization. The package tracks the appearance of new container tags, requests build metadata, scans vulnerabilities and receives webhook events about new image pushes.

The Docker Hub integration with UniShift builds continuous delivery (CD) chains: when an image is built successfully, Docker Hub sends a webhook to UniShift, which starts an automatic deployment to the test or production perimeter, runs DB migrations and notifies engineers in the chat.

The package fully complies with the corporate security and performance standards of UniShift Platform. All requests run over secure HTTPS protocols with support for OAuth 2.0, API keys and mutual TLS authentication. The connectors of the package have built-in means of handling request limits (Rate Limiting), smart re-sending of packets and logging of every execution step into a centralized monitoring system.

What the integration package can do

  • Receiving incoming webhook notifications about new tags and container builds (Image Push)
  • Getting the list of repositories, tags, layers and the build history of Docker containers
  • Requesting image metadata: size, layer hashes, creation date, vulnerability scan results
  • Managing access rights to private repositories and personal account access tokens
  • Starting auto-deploy and web service update processes in Kubernetes / Docker Swarm / PM2
  • Integrity control, security and continuity of the infrastructure pipeline
  • Automatic cleanup of outdated tags and temporary container images

Connectors in the package

Store API keys and secrets in the platform: Settings → Environments. Add an Environment node to the flow — the variables become available as {{env.KEY}}.

Docker Hub · Create repo

dockerhub-create-repo

out · dockerhub

create

Parameters (inputs)

Field Key Type
Name name string required
Namespace namespace string required
Summary description string optional
README full_description textarea optional
Private is_private bool optional

Environment variables

Variable Purpose Value Where to get
DOCKERHUB_JWT JWT after Docker Hub login (for the write API) JWT from /v2/users/login Get it through the login API with DOCKERHUB_TOKEN

Docker Hub · Image

dockerhub-get-image

out · dockerhub

repository

Parameters (inputs)

Field Key Type
Namespace namespace string required
Name name string required
Tag tag string optional

Environment variables

Variable Purpose Value Where to get
DOCKERHUB_TOKEN Docker Hub access token (login) dckr_pat_… or password hub.docker.com → Account Settings → Security

Docker Hub · Rate limit

dockerhub-get-rate-limit

out · dockerhub

auth/token

Parameters (inputs)

No user fields

Environment variables

Not required

Docker Hub · Repositories

dockerhub-list-repos

out · dockerhub

list

Parameters (inputs)

Field Key Type
Namespace namespace string required

Environment variables

Variable Purpose Value Where to get
DOCKERHUB_TOKEN Docker Hub access token (login) dckr_pat_… or password hub.docker.com → Account Settings → Security

Docker Hub · Tags

dockerhub-list-tags

out · dockerhub

tags

Parameters (inputs)

Field Key Type
repo namespace/name repository string required

Environment variables

Variable Purpose Value Where to get
DOCKERHUB_TOKEN Docker Hub access token (login) dckr_pat_… or password hub.docker.com → Account Settings → Security

Docker Hub · Description

dockerhub-update-description

out · dockerhub

PATCH repo

Parameters (inputs)

Field Key Type
Namespace namespace string required
Name name string required
Summary description textarea optional
README full_description textarea optional

Environment variables

Variable Purpose Value Where to get
DOCKERHUB_JWT JWT after Docker Hub login (for the write API) JWT from /v2/users/login Get it through the login API with DOCKERHUB_TOKEN

API: GET /api/integrations/pack-dockerhub · GET /api/integrations/pack-dockerhub/download