Skip to content

Commit 86a0a4e

Browse files
updating logic for token
1 parent ed0d056 commit 86a0a4e

File tree

1 file changed

+1
-1
lines changed
  • .github/scripts/ppc64le/self-hosted-builder/helpers

1 file changed

+1
-1
lines changed

.github/scripts/ppc64le/self-hosted-builder/helpers/app_token.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ header_base64=$(echo -n "$header" | openssl base64 | tr -d '=' | tr '/+' '_-' |
2222
payload_base64=$(echo -n "$payload" | openssl base64 | tr -d '=' | tr '/+' '_-' | tr -d '\n')
2323

2424
signature=$(echo -n "${header_base64}.${payload_base64}" | \
25-
openssl dgst -sha256 -sign "$APP_PRIVATE_KEY" | \
25+
openssl dgst -sha256 -sign "${APP_PRIVATE_KEY}" | \
2626
openssl base64 | tr -d '=' | tr '/+' '_-' | tr -d '\n')
2727

2828
generated_jwt="${header_base64}.${payload_base64}.${signature}"

0 commit comments

Comments
 (0)