Skip to content

Commit bf05e74

Browse files
authored
Merge pull request #78 from crazy-max/fix-private
fix private repo check
2 parents 9e0055f + e0070b8 commit bf05e74

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/bake.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -376,7 +376,7 @@ jobs:
376376
required = true
377377
[cache.gha.verify.policy]
378378
timestampThreshold = 1
379-
tlogThreshold = ${{ matrix.privateRepo == 'true' && '0' || '1' }}
379+
tlogThreshold = ${{ needs.prepare.outputs.privateRepo == 'true' && '0' || '1' }}
380380
subjectAlternativeName = "https://github.com/docker/github-builder-experimental/.github/workflows/bake.yml*"
381381
githubWorkflowRepository = "docker/github-builder-experimental"
382382
issuer = "https://token.actions.githubusercontent.com"
@@ -409,7 +409,7 @@ jobs:
409409
--new-bundle-format \
410410
--use-signing-config \
411411
--bundle "$out_file" \
412-
--tlog-upload=${{ matrix.privateRepo == 'false' }} \
412+
--tlog-upload=${{ needs.prepare.outputs.privateRepo == 'false' }} \
413413
"$in_file"
414414
415415
# Output bundle to stdout

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -335,7 +335,7 @@ jobs:
335335
required = true
336336
[cache.gha.verify.policy]
337337
timestampThreshold = 1
338-
tlogThreshold = ${{ matrix.privateRepo == 'true' && '0' || '1' }}
338+
tlogThreshold = ${{ needs.prepare.outputs.privateRepo == 'true' && '0' || '1' }}
339339
subjectAlternativeName = "https://github.com/docker/github-builder-experimental/.github/workflows/build.yml*"
340340
githubWorkflowRepository = "docker/github-builder-experimental"
341341
issuer = "https://token.actions.githubusercontent.com"
@@ -368,7 +368,7 @@ jobs:
368368
--new-bundle-format \
369369
--use-signing-config \
370370
--bundle "$out_file" \
371-
--tlog-upload=${{ matrix.privateRepo == 'false' }} \
371+
--tlog-upload=${{ needs.prepare.outputs.privateRepo == 'false' }} \
372372
"$in_file"
373373
374374
# Output bundle to stdout

0 commit comments

Comments
 (0)