docker / docker/metadata-action

Version metadata not working in v5.8.0

Open
#543 5 comments 16 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

status/needs-more-info
Dominant language
TypeScript
Stars
1.1k
Forks
160
Avg merge
4d 17h
Merged PRs (30d)
12

Description

Contributing guidelines
I've found a bug, and:
  • The documentation does not mention anything about my problem
  • There are no open or closed issues that are related to my problem
Description

Image cannot be pushed, originating from metadata issue of extracting version:

##[debug]manifest:org.opencontainers.image.version='

This stopped working recently, so my best guess is issue in most recent release of 5.8.0 instead of 5.7.0, because our job used v5.

The problem was solved for now by downgrading to 5.7.0 version.

Expected behaviour

Existing v5 jobs remain working with new minor version

Actual behaviour

Job fails due to version extraction issue

Repository URL

https://github.com/appwrite/console/

Workflow run URL

https://github.com/appwrite/console/actions/runs/16882183410/job/47827714696

YAML workflow
https://github.com/appwrite/console/blob/main/.github/workflows/publish.yml
Workflow logs

No response

BuildKit logs
  {
    "target": {
      "docker-metadata-action": {
        "annotations": [
          "manifest:org.opencontainers.image.created=2025-08-11T15:15:31.165Z",
          "manifest:org.opencontainers.image.description=The Console that makes Appwrite tick from the browser  🖥",
          "manifest:org.opencontainers.image.licenses=BSD-3-Clause",
          "manifest:org.opencontainers.image.revision=29e85017ed2bf87a866af6a3263927d93d6fa296",
          "manifest:org.opencontainers.image.source=https://github.com/appwrite/console",
          "manifest:org.opencontainers.image.title=console",
          "manifest:org.opencontainers.image.url=https://github.com/appwrite/console",
          "manifest:org.opencontainers.image.version="
        ]
      }
    }
  }
Additional info

For refference, following PR fixed it temporarly: https://github.com/appwrite/console/pull/2209

With a working job now: https://github.com/appwrite/console/actions/runs/16884720878/job/47829359004

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the referenced .github/workflows/publish.yml and workflow logs, then compare metadata extraction in v5.8.0 with v5.7.0 using the provided reproduction. The fix is complete when the existing v5 workflow produces a non-empty org.opencontainers.image.version and the image can be pushed.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, github-actions, typescript
Domain
ci-cd, devops
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.