Fix: Check for container signature during release 62/74062/2 v0.92.12
authorEric Ball <eball@linuxfoundation.org>
Sat, 17 Jan 2026 01:04:51 +0000 (17:04 -0800)
committerEric Ball <eball@linuxfoundation.org>
Tue, 20 Jan 2026 22:41:18 +0000 (14:41 -0800)
commit67cf4368dbfad0298eb917010e4e0726994de731
tree426dbc89b54bd81cf0ef7a32635746934c2dec0d
parent9a80001af1fb6efb6cbdb21340fc07a89c829005
Fix: Check for container signature during release

Previously, container releases checked for the container on the
remote server, and skip the release process if it is found. However,
a failure in signing could occur after the push to remote, and if
this step failed, it would never re-run because the entire release
step would be skipped.

This change adds a step to also verify that the signature is also on
the remote if the image is found, and then attempts to sign the image
if the signature is not present. To do this, the following changes
were made:
  * Move installation of cosign binary to before image check
  * Add public key credential for verification
  * Run only cosign command if image is found on remote but not sig

Issue: IT-29095
Change-Id: I025b1662238df38d558e2a31c96f4fa223d8ca3f
Signed-off-by: Eric Ball <eball@linuxfoundation.org>
jjb/lf-release-jobs.yaml
releasenotes/notes/cosign-verify-8600a1dd35b1e901.yaml [new file with mode: 0644]
shell/release-job.sh