Repository navigation
Closed
Labels
Description
Contributing guidelines
- I've read the contributing guidelines and wholeheartedly agree
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 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
Workflow run URL
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.0Workflow logs
No response
BuildKit logs
Additional info
No response
Activity
gha: switch docker/github-builder to our fork temporarily (#2467)