Skip to content

Commit

Permalink
add BUILDKIT_NO_CLIENT_TOKEN=1 per docker/buildx#1613 (comment)
Browse files Browse the repository at this point in the history
  • Loading branch information
ewdurbin committed Mar 14, 2024
1 parent 2cd60b9 commit b856ebd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ jobs:
- name: Build Docker Image
run: |
echo ${{ secrets.GITHUB_TOKEN }} | docker login ghcr.io -u ${{ github.event_name == 'pull_request' && github.event.pull_request.head.repo.owner.name || github.repository_owner }} --password-stdin
docker buildx build --build-arg="DEVEL=yes" --build-arg="CI=yes" --cache-to type=gha,mode=max --cache-from type=gha --push -t ghcr.io/${{ github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name || github.repository }}:ci-${{ github.run_id }} .
BUILDKIT_NO_CLIENT_TOKEN=1 docker buildx build --build-arg="DEVEL=yes" --build-arg="CI=yes" --cache-to type=gha,mode=max --cache-from type=gha --push -t ghcr.io/${{ github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name || github.repository }}:ci-${{ github.run_id }} .
test:
needs: build
strategy:
Expand Down

0 comments on commit b856ebd

Please sign in to comment.