Contributing guidelines
I've found a bug, and:
Description
The call to docker-meta is given as
name: Docker meta
id: meta
if: ${{ inputs.output == 'image' }}
uses: docker/metadata-action@dc802804100637a589fabce1cb79ff13a1411302 # v6.2.0
with:
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 Release
on:
pull_request:
push:
branches: [main]
permissions:
contents: read
id-token: write
jobs:
build:
uses: docker/github-builder/.github/workflows/build.yml@3415a188caae9a0da7fba83bc06985776e0b1790 # v1.14.0
permissions:
contents: read # to fetch the repository content
id-token: write # for signing attestation(s) with GitHub OIDC Token
with:
output: image
file: Dockerfile
context: .
push: false
platforms: linux/amd64,linux/arm64
meta-flavor: |
latest=false
meta-labels: |
org.opencontainers.image.version=1.0
Workflow logs
No response
BuildKit logs
Additional info
No response
Contributing guidelines
I've found a bug, and:
Description
The call to
docker-metais given asHowever, there is no
meta-labelsinput! There'sset-meta-labels(which gets merged with the output ofdocker/metadata-action), but that's different!Expected behaviour
You should be able to pass
meta-labelsas an argument to this workflow and have it passed through to the metadata actionActual behaviour
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
Workflow logs
No response
BuildKit logs
Additional info
No response