Repository navigation
Bump docker/metadata-action from 5.7.0 to 6.2.0 - #209
Merged
tmthrgd-aligent merged 1 commit intoNov 18, 2026
Merged
Conversation
Bumps [docker/metadata-action](https://github.com/docker/metadata-action) from 5.7.0 to 6.2.0. - [Release notes](https://github.com/docker/metadata-action/releases) - [Commits](docker/metadata-action@902fa8e...dc80280) --- updated-dependencies: - dependency-name: docker/metadata-action dependency-version: 6.2.0 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
tmthrgd-aligent
approved these changes
Nov 18, 2026
Contributor
There was a problem hiding this comment.
PR #209 looks safe to merge. It's a Dependabot bump of docker/metadata-action from v5.7.0 to v6.2.0, in docker-build.yml's "Extract metadata for Docker" step. I checked the two breaking changes in v6.0.0 against every caller I could find, and neither affects them.
Checks
- The pin is genuine: the v6.2.0 tag points directly at commit dc802804100637a589fabce1cb79ff13a1411302, the same SHA as the PR.
- Node 24: v6.0.0 needs Actions Runner v2.327.1 or later. As with #208, this workflow already uses Node 24 actions (actions/checkout v7.0.1 and setup-buildx-action v4.4.1), so any runner that can run it already qualifies.
- # handling in list inputs (the change that could actually break something): v6.0.0 now keeps a # that appears partway through a line as part of the value. Only lines starting with # are comments now. A caller that wrote tags: type=raw,value=foo # note would have had the note stripped in v5. In v6 it becomes part of the tag, and the build would probably fail with an invalid tag.
- The workflow's default tags (type=raw,value=latest,enable={{is_default_branch}} and type=sha,prefix=) has no #.
- The callers: a code search of the aligent org found seven repos that call docker-build.yml: owasp-dependency-check-pipe, nx-serverless-deploy-pipe, magento-cloud-deploy-pipe, code-standards-pipe-php, phpstan-pipe, cdk-deploy-pipe and magento-local. None has a # inside its tags value. The # Separate cache scope… lines next to some of them are YAML comments at the with: key's indentation, so they aren't part of the value.
- v5.8–v5.10 only add features: a new is_not_default_branch expression, partial matching for semver tags, and a tag-names output. None changes existing behaviour.
- Inputs and outputs are compatible: the workflow passes images and tags, and uses outputs.tags and outputs.labels. All four still exist in v6.2.0.
- CI is green (Lint & Static Analysis, zizmor, Aikido), but CI doesn't run docker-build.yml.
Watch out for
- Merging affects every caller immediately. All seven call docker-build.yml@main, so the next build in any of them uses v6.2.0. Watch the first few image builds after merging, for example re-run one of the pipe repos' builds.
- Same failure pattern as the DO-2055 bug (already on main, not caused by this PR): the "Push Docker image" step ends with this loop:
echo "$TAGS" | tr ',' '\n' | while read -r tag; do
[ -n "$tag" ] && docker push "$tag"
done
It's the same [ … ] && … pattern behind the original DO-2055 failure. If steps.meta.outputs.tags ever ends with a newline, the last line read is empty, the loop returns 1, and the push step fails after every push has succeeded. It works today, so metadata-action's output presumably has no trailing newline, and I don't know of any change to that in v6. Swapping the && for if [ -n "$tag" ]; then docker push "$tag"; fi would make it safe either way. It's worth a separate small PR, not a change to this one.
dependabot
Bot
deleted the
dependabot/github_actions/docker/metadata-action-6.2.0
branch
November 18, 2026 03:27
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Bumps docker/metadata-action from 5.7.0 to 6.2.0.
Release notes
Sourced from docker/metadata-action's releases.
... (truncated)
Commits
dc80280Merge pull request #696 from docker/dependabot/npm_and_yarn/docker/actions-to...2b9fe83[dependabot skip] chore: update generated content8128ce3chore(deps): Bump@docker/actions-toolkitfrom 0.91.0 to 0.92.01d1c895Merge pull request #695 from docker/dependabot/npm_and_yarn/semver-7.8.57f0c2ddMerge pull request #694 from docker/dependabot/npm_and_yarn/sigstore-4.1.1025f8c5[dependabot skip] chore: update generated contente98d63cchore(deps): Bump semver from 7.8.1 to 7.8.537d9379chore(deps): Bump sigstore from 4.1.0 to 4.1.1a1b8072Merge pull request #690 from docker/dependabot/npm_and_yarn/sigstore/core-3.2.1e0e3381[dependabot skip] chore: update generated contentDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)