Currently, running Combo's version subcommand when it is build by the make build-container target does not display the version information as you would expect:
$ docker run quay.io/operator-framework/combo:latest /bin/combo version
Combo version:
Git commit:
Kubernetes version: v0.22.2
Running against a locally built binary works just fine:
This is most likely because the Git tree is not being brought along when building the container via make build-container and thus the version information there is not present.
Summary
Currently, running Combo's version subcommand when it is build by the
make build-container
target does not display the version information as you would expect:Running against a locally built binary works just fine:
This is most likely because the Git tree is not being brought along when building the container via
make build-container
and thus the version information there is not present.