Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

buildconfig: support passing build config via stdin #675

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

mvo5
Copy link
Collaborator

@mvo5 mvo5 commented Oct 14, 2024

This commit adds support for reading the build config via stdin. To do that the -config switch now supports - and with that it will use os.Stdin insteadof readin the file. Because we have no file extension to auto-detect the format only JSON is supported in this mode.

This feature will be used by osbuild-composer when it adds bootc image mode integration.

This commit adds support for reading the build config via stdin.
To do that the `-config` switch now supports `-` and with that it
will use `os.Stdin` insteadof readin the file. Because we have no
file extension to auto-detect the format only JSON is supported
in this mode.

This feature will be used by osbuild-composer when it adds bootc
image mode integration.
@mvo5 mvo5 requested a review from amirfefer October 14, 2024 10:33
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.

1 participant