This commit adds granular permissions to the workflows that need them to
perform their tasks.
The release action needs access to the "contents" of a repo in order to
create a release, and requires access to packages in order to publish
the containers.
The docker action only needs access to packages to publish the
"latest" build from the main branch.
same as https://github.com/openclarity/kubeclarity/commit/cbbfee3e29379233fd5c24ed5f16ecfa21a0da33
This commit adds granular permissions to the workflows that need them to perform their tasks.
The release action needs access to the "contents" of a repo in order to create a release, and requires access to packages in order to publish the containers.
The docker action only needs access to packages to publish the "latest" build from the main branch.