Skip to content

Bump docker/metadata-action from 5.7.0 to 6.2.0 - #209

Merged
tmthrgd-aligent merged 1 commit into
mainfrom
dependabot/github_actions/docker/metadata-action-6.2.0
Nov 18, 2026
Merged

tmthrgd-aligent merged 1 commit into
mainfrom
dependabot/github_actions/docker/metadata-action-6.2.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 18, 2026

Copy link
Copy Markdown
Contributor

Bumps docker/metadata-action from 5.7.0 to 6.2.0.

Release notes

Sourced from docker/metadata-action's releases.

v6.2.0

Full Changelog: docker/metadata-action@v6.1.0...v6.2.0

v6.1.0

Full Changelog: docker/metadata-action@v6.0.0...v6.1.0

v6.0.0

Full Changelog: docker/metadata-action@v5.10.0...v6.0.0

v5.10.0

... (truncated)

Commits
  • dc80280 Merge pull request #696 from docker/dependabot/npm_and_yarn/docker/actions-to...
  • 2b9fe83 [dependabot skip] chore: update generated content
  • 8128ce3 chore(deps): Bump @​docker/actions-toolkit from 0.91.0 to 0.92.0
  • 1d1c895 Merge pull request #695 from docker/dependabot/npm_and_yarn/semver-7.8.5
  • 7f0c2dd Merge pull request #694 from docker/dependabot/npm_and_yarn/sigstore-4.1.1
  • 025f8c5 [dependabot skip] chore: update generated content
  • e98d63c chore(deps): Bump semver from 7.8.1 to 7.8.5
  • 37d9379 chore(deps): Bump sigstore from 4.1.0 to 4.1.1
  • a1b8072 Merge pull request #690 from docker/dependabot/npm_and_yarn/sigstore/core-3.2.1
  • e0e3381 [dependabot skip] chore: update generated content
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot 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 rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will 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 version will 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 dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

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>
@dependabot dependabot Bot added the dependencies Pull requests that update a dependency file label Nov 18, 2026
@dependabot
dependabot Bot requested a review from a team as a code owner November 18, 2026 02:33
@dependabot dependabot Bot added the github_actions Pull requests that update GitHub Actions code label Nov 18, 2026

@tmthrgd-aligent tmthrgd-aligent left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

@tmthrgd-aligent
tmthrgd-aligent merged commit bcd44ac into main Nov 18, 2026
3 checks passed
@dependabot
dependabot Bot deleted the dependabot/github_actions/docker/metadata-action-6.2.0 branch November 18, 2026 03:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file github_actions Pull requests that update GitHub Actions code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant