Skip to content

Docker image publishing failed for 1.26.0 #283

@Ocramius

Description

@Ocramius

Bug Report

See https://github.com/laminas/automatic-releases/actions/runs/22113829924/job/63916626466

Q A
Version(s) 1.26.0
Run docker/login-action@v3
  with:
    registry: ghcr.io
    username: ***
    password: ***
    logout: true
Logging into ghcr.io...
Error: Error response from daemon: Get "https://ghcr.io/v2/": denied: denied

I'm unsure if this will affect downstream releases: the action itself relies on Dockerfile (

), so it shouldn't change much.

Still, why couldn't the action perform the login?

According to GITHUB_TOKEN permissions, Packages: write is granted:


GITHUB_TOKEN Permissions
  Actions: write
  ArtifactMetadata: write
  Attestations: write
  Checks: write
  Contents: write
  Deployments: write
  Discussions: write
  Issues: write
  Metadata: read
  Models: read
  Packages: write
  Pages: write
  PullRequests: write
  RepositoryProjects: write
  SecurityEvents: write
  Statuses: write

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugSomething isn't working

    Type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions