Files
dockerhub-description/action.yml
Peter Evans 1b9a80c056
Some checks failed
Publish Docker Image / publish (push) Has been cancelled
feat: v5 (#327)
* feat: update runtime to node 24

* fix: deps

* feat: update create token endpoint (#311)

/v2/users/login was deprecated in favor of using /v2/auth/token to create access tokens. Switching endpoints adds support for creating auth tokens from OATs.

* fix: use correct response property

* feat: switch to native fetch

* fix: method name

---------

Co-authored-by: Ian Pittwood <pittwoodian@gmail.com>
2025-10-01 14:39:49 +01:00

35 lines
1005 B
YAML

name: 'Docker Hub Description'
author: 'Peter Evans'
description: 'An action to update a Docker Hub repository description from README.md'
inputs:
username:
description: Docker Hub username
required: true
password:
description: Docker Hub password or Personal Access Token with read/write/delete scope
required: true
repository:
description: >
Docker Hub repository in the format `<namespace>/<name>`
Default: `github.repository`
short-description:
description: Docker Hub repository short description
readme-filepath:
description: >
Path to the repository readme
Default: `./README.md`
enable-url-completion:
description: >
Enables completion of relative URLs to absolute ones
Default: `false`
image-extensions:
description: >
File extensions that will be treated as images
Default: `bmp,gif,jpg,jpeg,png,svg,webp`
runs:
using: 'node24'
main: 'dist/index.js'
branding:
icon: 'upload'
color: 'blue'