Skip to content

A custom action for creating Docker Hub access tokens using Docker Hub API

Notifications You must be signed in to change notification settings

kantist/docker-hub-create-access-token-action

Repository files navigation

Docker Hub Create Access Token

Create a Docker Hub access token using Docker Hub API

Inputs

username

Required The username of the Docker Hub account to authenticate with

password

Required The password or personal access token (PAT) of the Docker Hub account to authenticate with

token_label

Required Label of the access token that will be created

scopes

Valid scopes: 'repo:admin', 'repo:write', 'repo:read', 'repo:public_read'. Specify multiple scopes by seperating them with ','. ex: repo:read,repo:write

Outputs

uuid

UUID of created access token

token

Created access token

Example usage

uses: actions/docker-hub-create-access-token-action@v1.0 with: username: "my-username" password: "my-password" token_label: "my-token-label" scopes: "repo:read,repo:write"

About

A custom action for creating Docker Hub access tokens using Docker Hub API

Resources

Stars

Watchers

Forks

Packages

No packages published