Conversation
…Hub Actions expression Co-authored-by: paulirwin <1874103+paulirwin@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Fix invalid value error in Docker GitHub action
Fix docker/metadata-action incompatibility: replace {{is_default_branch}} with GitHub Actions expression
Nov 20, 2025
Member
|
@copilot Please upgrade the docker/metadata-action task to v5.9.0. Please research to see if there are breaking changes. then you should be able to use is_default_branch again |
…nch}} syntax Co-authored-by: paulirwin <1874103+paulirwin@users.noreply.github.com>
Contributor
Author
Upgraded to docker/metadata-action v5.9.0 (commit 318604b) and restored {{is_default_branch}} syntax. No breaking changes found that affect this workflow. The upgrade was completed in commit e248e32. |
Co-authored-by: paulirwin <1874103+paulirwin@users.noreply.github.com>
Copilot
AI
changed the title
Fix docker/metadata-action incompatibility: replace {{is_default_branch}} with GitHub Actions expression
Upgrade docker/metadata-action to v5.9.0, enable PR builds, and add ARM64 support
Nov 20, 2025
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.
The Docker workflow fails with
Error: Invalid value for enable attribute: {{is_default_branch}}because the workflow usesdocker/metadata-actionv3.3.0, which doesn't support the{{is_default_branch}}global expression (added in v3.7.0).Changes
{{is_default_branch}}syntax which is now supported in v5.9.0Workflow Behavior
Research
No breaking changes between v3.3.0 and v5.9.0 affect this workflow's configuration. The upgrade is backward compatible for our use case.
Original prompt
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.