imglife version
Synopsis
Section titled “Synopsis”imglife version [flags]Prints version, git commit, and build date. Useful for verifying which version is installed in a CI environment.
| Flag | Default | Description |
|---|---|---|
--output string | text | Output format: text or json |
Examples
Section titled “Examples”imglife version# imglife v0.8.0 (commit: abc1234, built: 2026-04-01T10:00:00Z)
imglife version --output json{ "version": "v0.8.0", "commit": "abc1234", "built": "2026-04-01T10:00:00Z"}# Log the version at the start of every jobbefore_script: - imglife version