-
-
Notifications
You must be signed in to change notification settings - Fork 51
Open
Description
Hey 👋
loving this Github Action so far!
Problem description:
Our org recently moved to use Organization Access Tokens (OAT) rather than Personal Access Tokens (PAT) in our deployment pipelines, see https://docs.docker.com/security/for-admins/access-tokens/
This works well for all other actions which Push images to DockerHub. However, the update-description action fails with
2024-12-03T09:06:54.3973709Z ##[group]Run peter-evans/dockerhub-description@v4
2024-12-03T09:06:54.3975152Z with:
2024-12-03T09:06:54.3976736Z username: ***
2024-12-03T09:06:54.3977895Z password: ***
2024-12-03T09:06:54.3979062Z repository: ***/micropowermanager-backend
2024-12-03T09:06:54.3980973Z short-description: Open Source Management Tool for Decentralized Utilities
2024-12-03T09:06:54.3982679Z ##[endgroup]
2024-12-03T09:06:54.4475667Z Reading description source file
2024-12-03T09:06:54.4491208Z Acquiring token
2024-12-03T09:06:54.7319170Z ##[error]Unexpected response: 401 UnauthorizedIt would be great if we can use the update-description with OAT.
Additional information:
I don't fully understand where the issues is coming from. It might be related to the fact that OAT and PAT have slightly different permission levels. For example, for PAT I chose Read, Write, Delete as scope, while OAT have scope Push and Pull.
D3strukt0r
Metadata
Metadata
Assignees
Labels
No labels