internal/ci: allow steps to influence job permissions
Allow steps declared in a job to set permissions on that job. This is
important when steps are reused between jobs. In particular, the new
registry-login-action step, which requires a certain permission to be
set on the containing job. We corresponding update loginCentralRegistry
to use this new capability and remove the manual setting of the
permission within the two jobs that use this reusable step.
We bump the nested CUE module's version in order to use explicit open.
Signed-off-by: Paul Jolly <paul@myitcv.io>
Change-Id: Ifb363e0bffe01e3198b966c7de78e777c604320a
Reviewed-on: https://cue.gerrithub.io/c/cue-lang/cue/+/1230270
TryBot-Result: CUEcueckoo <cueckoo@cuelang.org>
Reviewed-by: Daniel Martí <mvdan@mvdan.cc>