Skip to content

Commit 8c7f0cc

Browse files
committed
fixup! Add Explicit Binary Signing Task
1 parent 1563184 commit 8c7f0cc

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

.pipelines/build/binaries.jobs.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545
arch: $(ARCH)
4646

4747

48-
- ${{ elseif and(eq(job_data.templateContext.action, 'sign'), parameters.isOfficial) }}:
48+
- ${{ elseif and(eq(job_data.templateContext.action, 'sign'), job_data.templateContext.isOfficial) }}:
4949
- job: sign_${{ job_data.job }}
5050
displayName: "Sign Binary - ${{ job_data.displayName }} -"
5151
strategy: ${{ job_data.strategy }}

.pipelines/run-pipeline.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ stages:
5454
displayName: "Linux/AMD64"
5555
templateContext:
5656
action: build
57+
isOfficial: ${{ parameters.isOfficial }}
5758
repositoryArtifact: drop_setup_env_source
5859
strategy:
5960
maxParallel: 5
@@ -77,6 +78,7 @@ stages:
7778
displayName: "Windows/AMD64"
7879
templateContext:
7980
action: build
81+
isOfficial: ${{ parameters.isOfficial }}
8082
repositoryArtifact: drop_setup_env_source
8183
strategy:
8284
maxParallel: 5
@@ -94,6 +96,7 @@ stages:
9496
displayName: "Linux/ARM64"
9597
templateContext:
9698
action: build
99+
isOfficial: ${{ parameters.isOfficial }}
97100
repositoryArtifact: drop_setup_env_source
98101
strategy:
99102
maxParallel: 5
@@ -342,6 +345,7 @@ stages:
342345
displayName: "Linux/AMD64"
343346
templateContext:
344347
action: sign
348+
isOfficial: ${{ parameters.isOfficial }}
345349
repositoryArtifact: drop_build_binaries_linux_amd64_$(artifact)
346350
strategy:
347351
matrix:
@@ -359,6 +363,7 @@ stages:
359363
displayName: "Windows/AMD64"
360364
templateContext:
361365
action: sign
366+
isOfficial: ${{ parameters.isOfficial }}
362367
repositoryArtifact: drop_build_binaries_windows_amd64_$(artifact)
363368
strategy:
364369
matrix:
@@ -372,6 +377,7 @@ stages:
372377
displayName: "Linux/ARM64"
373378
templateContext:
374379
action: sign
380+
isOfficial: ${{ parameters.isOfficial }}
375381
repositoryArtifact: drop_build_binaries_linux_arm64_$(artifact)
376382
strategy:
377383
matrix:

0 commit comments

Comments
 (0)