Skip to content

missing meta-labels input in build.yml #255

Description

@svix-jbrown

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

The call to docker-meta is given as

name: Docker metaid: metaif: ${{ inputs.output == 'image' }}uses: docker/metadata-action@dc802804100637a589fabce1cb79ff13a1411302 # v6.2.0with:
images: ${{ needs.prepare.outputs.metaImages }}tags: ${{ inputs.meta-tags }}flavor: ${{ inputs.meta-flavor }}labels: ${{ inputs.meta-labels }}annotations: ${{ inputs.meta-annotations }}

However, there is no meta-labels input! There's set-meta-labels (which gets merged with the output of docker/metadata-action), but that's different!

Expected behaviour

You should be able to pass meta-labels as an argument to this workflow and have it passed through to the metadata action

Actual behaviour

The workflow is not valid. Invalid input, meta-labels is not defined in the referenced workflow.

Repository URL

https://github.com/svix-jbrown/repro-docker-issue-20260716

Workflow run URL

https://github.com/svix-jbrown/repro-docker-issue-20260716/actions/runs/29539948543

YAML workflow

name: Docker Build Releaseon:
pull_request:
push:
branches: [main]permissions:
contents: readid-token: writejobs:
build:
uses: docker/github-builder/.github/workflows/build.yml@3415a188caae9a0da7fba83bc06985776e0b1790 # v1.14.0permissions:
contents: read # to fetch the repository contentid-token: write # for signing attestation(s) with GitHub OIDC Tokenwith:
output: imagefile: Dockerfilecontext: .push: falseplatforms: linux/amd64,linux/arm64meta-flavor: | latest=falsemeta-labels: | org.opencontainers.image.version=1.0

Workflow logs

No response

BuildKit logs

Additional info

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions