File tree Expand file tree Collapse file tree 2 files changed +4
-6
lines changed
Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -612,9 +612,8 @@ jobs:
612612 await core.group(`Set bake overrides`, async () => {
613613 bakeOverrides.push('*.tags=');
614614 if (GitHub.context.payload.repository?.private ?? false) {
615- // if this is a private repository, we set the default provenance
616- // attributes being set in buildx: https://github.com/docker/buildx/blob/fb27e3f919dcbf614d7126b10c2bc2d0b1927eb6/build/build.go#L603
617- bakeOverrides.push('*.attest=type=provenance,mode=min,inline-only=true,version=v1');
615+ // if this is a private repository, we set min provenance mode
616+ bakeOverrides.push('*.attest=type=provenance,mode=min,version=v1');
618617 } else {
619618 // for a public repository, we set max provenance mode
620619 bakeOverrides.push('*.attest=type=provenance,mode=max,version=v1');
Original file line number Diff line number Diff line change @@ -535,9 +535,8 @@ jobs:
535535 core.setOutput('labels', inpLabels.join('\n'));
536536
537537 if (GitHub.context.payload.repository?.private ?? false) {
538- // if this is a private repository, we set the default provenance
539- // attributes being set in buildx: https://github.com/docker/buildx/blob/fb27e3f919dcbf614d7126b10c2bc2d0b1927eb6/build/build.go#L603
540- core.setOutput('provenance', 'mode=min,inline-only=true,version=v1');
538+ // if this is a private repository, we set min provenance mode
539+ core.setOutput('provenance', 'mode=min,version=v1');
541540 } else {
542541 // for a public repository, we set max provenance mode
543542 core.setOutput('provenance', 'mode=max,version=v1');
You can’t perform that action at this time.
0 commit comments