You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've create a PAT from Beta Fine-grained token, and maked ALL User and Repository permissions options to READ-WRITE, copied generated token.
Into my project repository I've created an Action Token called GH_PAT and copied token generatated from Fine-grained than executed action to generate a deploy do GHCR.io
After that I've executed that action to deploy, but I got a permission error when actions tries to deploy to GHCR.io
With Classic version of token Token (Classic) works perfectly without errors.
Generate a Fine-grained token with ALL permission to READ-WRITE
Generate a Project PAT with token generated from Fine-grained
Try to deploy
Expected behaviour
Tell us what should happen
Should made deploy to GHCR.io
Actual behaviour
Tell us what happens instead
• publishing
• docker images
• pushing image=ghcr.io//kvstok:0.2.1-arm64
⨯ release failed after 1m20s error=docker images: failed to publish artifacts: failed to push ghcr.io//kvstok:0.2.1-arm64: exit status 1: The push refers to repository [ghcr.io/***/kvstok]
4a793d9ee315: Preparing
ff8e7336f73c: Preparing
c4d4f60bd31b: Preparing
de51348d431b: Preparing denied: permission_denied: The token provided does not match expected scopes.
Error: The process '/opt/hostedtoolcache/goreleaser-action/1.12.3/x64/goreleaser' failed with exit code 1
Behaviour
I've create a PAT from Beta Fine-grained token, and maked ALL User and Repository permissions options to READ-WRITE, copied generated token.
Into my project repository I've created an Action Token called GH_PAT and copied token generatated from Fine-grained than executed action to generate a deploy do GHCR.io
After that I've executed that action to deploy, but I got a permission error when actions tries to deploy to GHCR.io
With Classic version of token Token (Classic) works perfectly without errors.
Repository permissions
User Permission
Action to deploy
Steps to reproduce this issue
Expected behaviour
Should made deploy to GHCR.io
Actual behaviour
• publishing
• docker images
• pushing image=ghcr.io//kvstok:0.2.1-arm64
⨯ release failed after 1m20s error=docker images: failed to publish artifacts: failed to push ghcr.io//kvstok:0.2.1-arm64: exit status 1: The push refers to repository [ghcr.io/***/kvstok]
4a793d9ee315: Preparing
ff8e7336f73c: Preparing
c4d4f60bd31b: Preparing
de51348d431b: Preparing
denied: permission_denied: The token provided does not match expected scopes.
Error: The process '/opt/hostedtoolcache/goreleaser-action/1.12.3/x64/goreleaser' failed with exit code 1
Configuration
Logs
The text was updated successfully, but these errors were encountered: