Commit 136fce07 authored by Joaquim Rocha's avatar Joaquim Rocha
Browse files

github: Use a secret as the DriEmail

parent 2a42a0d2
Showing with 2 additions and 1 deletion
+2 -1
......@@ -63,6 +63,7 @@ jobs:
if ("${{ inputs.signBinaries }}" -eq "true") {
$env:ESRP_PATH="$(Get-Location)\..\Microsoft.EsrpClient.1.2.80\tools\EsrpClient.exe"
$env:HEADLAMP_WINDOWS_CLIENT_ID="${{ secrets.WINDOWS_CLIENT_ID }}"
$env:HEADLAMP_WINDOWS_SIGN_EMAIL="${{ secrets.WINDOWS_SIGN_EMAIL }}"
} else {
echo "Not signing binaries"
}
......
......@@ -5,7 +5,7 @@ const fs = require('fs');
const SIGN_JSON_TEMPLATE = {
Version: '1.0.0',
DriEmail: ['hello@kinvolk.io'],
DriEmail: [`${process.env.HEADLAMP_WINDOWS_SIGN_EMAIL}`],
GroupId: null,
CorrelationVector: null,
SignBatches: [],
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment