Skip to content

Commit 4fb7914

Browse files
committed
fix: use LOCALPIBOX_PAT for Docker build GIT_AUTH_TOKEN [skip-version]
- GITHUB_TOKEN is scoped to devstack, cannot access pi repo - LOCALPIBOX_PAT has org-wide access needed for pi clone
1 parent 6c8cde6 commit 4fb7914

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/build-and-publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ jobs:
239239
LPB_VERSION=${{ steps.config.outputs.LPB_VERSION }}
240240
LPB_MAX_TOKENS_CONTEXT_RATIO=${{ steps.config.outputs.MAX_TOKENS }}
241241
secrets: |
242-
GIT_AUTH_TOKEN=${{ secrets.GITHUB_TOKEN }}
242+
GIT_AUTH_TOKEN=${{ secrets.LOCALPIBOX_PAT }}
243243
no-cache: ${{ github.event.inputs.no_cache == 'true' }}
244244
tags: |
245245
${{ env.IMAGE_NAME }}:cli
@@ -318,7 +318,7 @@ jobs:
318318
LPB_VERSION=${{ steps.config.outputs.LPB_VERSION }}
319319
LPB_MAX_TOKENS_CONTEXT_RATIO=${{ steps.config.outputs.MAX_TOKENS }}
320320
secrets: |
321-
GIT_AUTH_TOKEN=${{ secrets.GITHUB_TOKEN }}
321+
GIT_AUTH_TOKEN=${{ secrets.LOCALPIBOX_PAT }}
322322
no-cache: ${{ github.event.inputs.no_cache == 'true' }}
323323
tags: |
324324
${{ env.IMAGE_NAME }}:web

0 commit comments

Comments
 (0)