Skip to content

Commit 1cea3c2

Browse files
committed
fix(publish-fork): wrap digest file keys in an array
With a single published image PSObject.Properties.Name returns a scalar string, so $keys[0] indexed its first character instead of the first key, failing validation with a malformed-digest error.
1 parent 802328c commit 1cea3c2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

firebird-docker.build.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -524,7 +524,7 @@ task Publish-Manifests FilteredAssets, {
524524
} catch {
525525
throw "Digest file '$path' is not valid JSON: $($_.Exception.Message)"
526526
}
527-
$keys = $parsed.PSObject.Properties.Name
527+
$keys = @($parsed.PSObject.Properties.Name)
528528
if (-not $keys -or $keys.Count -eq 0) {
529529
throw "Digest file '$path' is empty — no digests to assemble."
530530
}

0 commit comments

Comments
 (0)