File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -482,9 +482,9 @@ jobs:
482482 pull : ${{ inputs.bake-pull }}
483483 sbom : ${{ inputs.bake-sbom }}
484484 set : ${{ steps.prepare.outputs.overrides }}
485- github-token : ${{ secrets.github-token || github.token }}
486485 env :
487486 BUILDKIT_MULTI_PLATFORM : 1
487+ BUILDX_BAKE_GIT_AUTH_TOKEN : ${{ secrets.github-token || github.token }}
488488 -
489489 name : Get image digest
490490 id : get-image-digest
Original file line number Diff line number Diff line change @@ -385,12 +385,13 @@ jobs:
385385 provenance : mode=max,version=v1
386386 pull : ${{ inputs.build-pull }}
387387 sbom : ${{ inputs.build-sbom }}
388+ secret-envs : GIT_AUTH_TOKEN=GIT_AUTH_TOKEN
388389 shm-size : ${{ inputs.build-shm-size }}
389390 target : ${{ inputs.build-target }}
390391 ulimit : ${{ inputs.build-ulimit }}
391- github-token : ${{ secrets.github-token || github.token }}
392392 env :
393393 BUILDKIT_MULTI_PLATFORM : 1
394+ GIT_AUTH_TOKEN : ${{ secrets.github-token || github.token }}
394395 -
395396 name : Install Cosign
396397 if : ${{ inputs.push }}
You can’t perform that action at this time.
0 commit comments