docs icon indicating copy to clipboard operation
docs copied to clipboard

How to update de docker hub respository description?

Open ThomasSousa96 opened this issue 1 year ago • 0 comments

Is this a docs issue?

  • [X] My issue is about the documentation content or website

Type of issue

Information is incorrect

Description

Hello!

I'm trying update the description of a test image that I published in Docker Hub or publish the image already with the description, but nothing works.

I'm publishing the image using Github Actions, with docker/metadata-action@v5 and docker/build-push-action@v5. Using only it I couldn't do it. Searching I see the Docker Hub API v2, I tried do a request to PATCH https://hub.docker.com/v2/repositories/foo/bar, but the API returns 403 Forbidden with the body {"message":"insufficient scope","errinfo":{}}. Using the action peter-evans/dockerhub-description the result is the same.

In the API documentation I not found this endpoint. I think that this endpoint worked in some time, but currently it too is not working. There another way to update this description?

Location

https://docs.docker.com/build/ci/github-actions/update-dockerhub-desc/

Suggestion

No response

ThomasSousa96 avatar Jun 04 '24 04:06 ThomasSousa96