Skip to content

Change platform build option to be a filter#271

Merged
ianpittwood merged 10 commits intomainfrom
build-platform-filter
Dec 17, 2025
Merged

Change platform build option to be a filter#271
ianpittwood merged 10 commits intomainfrom
build-platform-filter

Conversation

@ianpittwood
Copy link
Contributor

@ianpittwood ianpittwood commented Dec 9, 2025

Related to #265

  • Changes --platform to --image-platform.
  • Modify behavior of --image-platform from an override to a filter, similar to other options such as --image-name or --image-os.
  • Add --image-platform option to run dgoss command to selectively run against different build platforms. Note, only one can be provided at a time since goss is not a universal binary. See Implement managed downloads of goss/dgoss #272 for a future fix idea.

@github-actions
Copy link

github-actions bot commented Dec 9, 2025

Test Results

803 tests   803 ✅  9m 8s ⏱️
  1 suites    0 💤
  1 files      0 ❌

Results for commit 69c8afd.

♻️ This comment has been updated with latest results.

Comment on lines +121 to +122
platforms:
- "linux/amd64"
Copy link
Contributor

Choose a reason for hiding this comment

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

I think it could be useful to keep some OSes in this file to just get the default platform.

Is there a specific reason you were explicit with every entry in this file?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good idea, I'll do that.

@ianpittwood ianpittwood merged commit b9495c4 into main Dec 17, 2025
7 checks passed
@ianpittwood ianpittwood deleted the build-platform-filter branch December 17, 2025 19:59
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