fix(image): read the pushed digest from the kaniko log #2

Merged
Defame1297 merged 2 commits from fix/image-digest-after-build into main 2026-10-25 10:40:43 +00:00
Showing only changes of commit 1ecd060239 - Show all commits
+1 -1
View File
@@ -246,7 +246,7 @@ jobs:
while IFS= read -r line; do
printf '%s\n' "$line"
case "$line" in
*"Pushed "*"@sha256:"*) digest="sha256:${line##*@sha256:}" ;;
*"Pushed "*"@sha256:"*) digest="sha256:${line##*@sha256:}"; digest="${digest:0:71}" ;;
esac
done < <(/kaniko/executor \
--context "git://${registry}/${REPO}.git#${REF}#${SHA}" \