flatcar-scripts/sdk_container
jenkins d6077e9286 profiles/coreos/base: slsa: use .git/HEAD file to fetch scripts hash
ORIG_HEAD is the previous HEAD, so it is not what we are after. HEAD
only contains the hash if we are in a detached head situation, otherwise
it will contain a ref and we need to resolve it. `git rev-parse HEAD`
should work as well but hits an issue with git's new `safe.directory`
setting, I have not found a way to set this parameter for a signle call.

For toolchain packages are built with catalyst, and the HEAD value needs
to pre-resolved because we do not have access to the whole git
repository. So build_toolchains will need to inject the correct HEAD
file contents.
2022-07-27 13:02:22 +02:00
..
src/third_party/coreos-overlay profiles/coreos/base: slsa: use .git/HEAD file to fetch scripts hash 2022-07-27 13:02:22 +02:00