score-spec / score-compose

Reference implementation for docker-compose target platform support
https://docs.score.dev/docs/score-implementation/score-compose/
Apache License 2.0
449 stars 42 forks source link

Throw a better error when `--build` is used with multiple score files #173

Closed astromechza closed 2 months ago

astromechza commented 3 months ago

For example:

score-compose generate score*.yaml --buildcontainer=my-image --build container=my-other-image

This is easier to explain and support to avoid single expression generate.

astromechza commented 2 months ago

aah this was the thread https://cloud-native.slack.com/archives/C07DN0D1UCW/p1723749732633559?thread_ts=1723487895.451519&cid=C07DN0D1UCW.

astromechza commented 2 months ago

We discussed this in https://github.com/score-spec/spec/discussions/101 and decided to go the other direction and throw an error.