We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e3f002e commit cad1253Copy full SHA for cad1253
1 file changed
roles/generate-jenkins/templates/EXTERNAL_TRIGGER.j2
@@ -114,7 +114,7 @@ jobs:
114
"https://ghcr.io/v2/${image}/manifests/${tag}")
115
if jq -e '.layers // empty' <<< "${multidigest}" >/dev/null 2>&1; then
116
# If there's a layer element it's a single-arch manifest so just get that digest
117
- digest=$(jq -r '.layers[0].digest' <<< "${multidigest}")
+ digest=$(jq -r '.config.digest' <<< "${multidigest}")
118
else
119
# Otherwise it's multi-arch or has manifest annotations
120
if jq -e '.manifests[]?.annotations // empty' <<< "${multidigest}" >/dev/null 2>&1; then
0 commit comments