The first run on main built and pushed the image, then failed on
`read -r digest < /kaniko/digest`: the executor replaces the job
container's filesystem with the built image and removes /kaniko, so the
digest file and the credential-method file are gone by then.
Take the digest from the "Pushed <image>@sha256:<digest>" log line into a
shell variable, validate its shape, and drop the credential-method echo
(the prepare step already logs the credential in use).
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01MmzvM9skAvYcph2c9EiPcm