Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 95da2a8

Browse files
fix digest format
1 parent 6d5659c commit 95da2a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/dump.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ jobs:
7878
var strconfig = JSON.stringify(config);
7979
console.log(strconfig);
8080
var crypto = require('crypto');
81-
var hash = crypto.createHash('sha256').update(strconfig).digest('base64');
81+
var hash = crypto.createHash('sha256').update(strconfig).digest('hex');
8282
await refresh();
8383
resp = await fetch("https://ghcr.io/v2/${{ github.repository_owner }}/runner-images/blobs/uploads/", { method: "POST", redirect: "manual", body: "", credentials: "include", headers: {
8484
"Authorization": "Bearer " + token

0 commit comments

Comments
 (0)