Follow up to #324
Show platform commit in dashboard footer:
Injects PLATFORM_GIT_SHA at image build time (Makefile --build-arg, baked as ENV) and surfaces it in /.well-known/caution/build-inputs alongside the other tools
curl -s http://localhost:8000/.well-known/caution/build-inputs | jq .
{
"platform": {
"commit": "a6f8a9ec295641b233179684a3929c0c9b65d446",
"repo": "https://codeberg.org/caution/platform.git"
},
"enclaveos": {
"commit": "9582e25239430070667fdd0a6b64d887f1c308df",
"repo": "https://git.distrust.co/public/enclaveos.git"
},
"bootproof": {
"commit": "78f531a2c245404a9d8879fb71cc397096ae0077",
"repo": "https://git.distrust.co/public/bootproof.git"
},
"steve": {
"commit": "ed38a190cd5d7a8f452c854e41d00ec748e172bf",
"repo": "https://git.distrust.co/public/steve.git"
},
"locksmith": {
"commit": "d16b74c6b3fd1d1006a5b00e4d9e21a4613947a9",
"repo": "https://codeberg.org/caution/locksmith.git"
}
}
Follow up to https://codeberg.org/caution/platform/pulls/324
Show platform commit in dashboard footer:
Injects PLATFORM_GIT_SHA at image build time (Makefile --build-arg, baked as ENV) and surfaces it in /.well-known/caution/build-inputs alongside the other tools
```bash
curl -s http://localhost:8000/.well-known/caution/build-inputs | jq .
{
"platform": {
"commit": "a6f8a9ec295641b233179684a3929c0c9b65d446",
"repo": "https://codeberg.org/caution/platform.git"
},
"enclaveos": {
"commit": "9582e25239430070667fdd0a6b64d887f1c308df",
"repo": "https://git.distrust.co/public/enclaveos.git"
},
"bootproof": {
"commit": "78f531a2c245404a9d8879fb71cc397096ae0077",
"repo": "https://git.distrust.co/public/bootproof.git"
},
"steve": {
"commit": "ed38a190cd5d7a8f452c854e41d00ec748e172bf",
"repo": "https://git.distrust.co/public/steve.git"
},
"locksmith": {
"commit": "d16b74c6b3fd1d1006a5b00e4d9e21a4613947a9",
"repo": "https://codeberg.org/caution/locksmith.git"
}
}
```