Skip to content

Add explicit version pattern to docker/metadata-action semver tag#281

Closed
Copilot wants to merge 2 commits into
masterfrom
copilot/update-docker-metadata-action
Closed

Add explicit version pattern to docker/metadata-action semver tag#281
Copilot wants to merge 2 commits into
masterfrom
copilot/update-docker-metadata-action

Conversation

Copilot AI commented Dec 23, 2025

Copy link
Copy Markdown

The docker/metadata-action semver tag type needs an explicit pattern to control version formatting.

Changes

  • Updated .github/workflows/release.yml line 46: type=semvertype=semver,pattern={{version}}

This ensures semver tags use the {{version}} pattern (e.g., 1.2.3) rather than relying on default behavior which may include prefixes.

Original prompt

Update the GitHub Actions workflow .github/workflows/release.yml to use the explicit docker/metadata-action semver pattern. Specifically, in the Docker meta step, replace type=semver in the tags key with type=semver,pattern={{version}}.

  • Only change the line that references type=semver.
  • Ensure the rest of the tags remain unchanged.
  • Verify valid YAML structure and logical indentation.

This pull request was created from Copilot chat.


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

…pattern

Co-authored-by: pcallewaert <3081186+pcallewaert@users.noreply.github.com>
Copilot AI changed the title [WIP] Update GitHub Actions workflow for docker metadata Add explicit version pattern to docker/metadata-action semver tag Dec 23, 2025
Copilot AI requested a review from pcallewaert December 23, 2025 10:17
@pcallewaert pcallewaert marked this pull request as ready for review December 23, 2025 10:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants