You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Do you repro as well with type=raw,value=latest,enable=false? If not then that might be related to how GitHub handles boolean inputs.
Yea that question is in the comment of the line where the bug originates from. It is a GHA typed boolean for sure. The peculiar thing is the fix I ended up going with.
Intsead of
- name: Docker Metaid: metauses: docker/metadata-action@v5with:
images: ${{ needs.set-workflow-vars.outputs.image-name }}tags: | type=semver,pattern={{raw}},value=${{ needs.set-workflow-vars.outputs.version }} type=raw,value=latest,enable=${{ inputs.is-latest }} # This input is typed as a boolean in the callable workflow, maybe that's it?
I ended up using the flavor input. Which is documented the same as tags as far as booleans go:
Contributing guidelines
I've found a bug, and:
Description
When using a
raw
tag with theenable
flag, the tag is still in the metadata output whenenable
is set to false.Expected behaviour
Actual behaviour
Repository URL
No response
Workflow run URL
No response
YAML workflow
Workflow logs
BuildKit logs
No response
Additional info
No response
The text was updated successfully, but these errors were encountered: