Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Error: Unexpected token 'j', "json" is not valid JSON" #346

Closed
3 tasks done
matthinrichsen-wf opened this issue Jul 29, 2024 · 2 comments · Fixed by #347
Closed
3 tasks done

"Error: Unexpected token 'j', "json" is not valid JSON" #346

matthinrichsen-wf opened this issue Jul 29, 2024 · 2 comments · Fixed by #347
Labels

Comments

@matthinrichsen-wf
Copy link

matthinrichsen-wf commented Jul 29, 2024

Contributing guidelines

I've found a bug, and:

  • The documentation does not mention anything about my problem
  • There are no open or closed issues that are related to my problem

Description

Using v3.6.0 in GHA errors with:

"Error: Unexpected token 'j', "json" is not valid JSON"

Expected behaviour

It should not produce this error

Actual behaviour

GHA step fails

Repository URL

No response

Workflow run URL

No response

YAML workflow

jobs:
  build:
    name: Build
    steps:
      - name: Checkout Repo
        uses: actions/checkout@v4

      - name: prepare build action
        uses: docker/setup-buildx-action@v3

Workflow logs

No response

BuildKit logs

No response

Additional info

Pinning to v3.5.0 resolves the issue

@jrilettovo
Copy link

Seconding this, exact same issue.

From pinning docker/setup-buildx-action@v3 to docker/setup-buildx-action@v3.5.0 resolves.

Issue with latest release.

@crazy-max
Copy link
Member

crazy-max commented Jul 29, 2024

Thanks for reporting, can someone gives the output of docker context inspect --format=json default please? And also run the workflow with debug enabled for docker/setup-buildx-action@v3.6.0? Thanks.

In the meantime I pinned v3 to v3.5.0.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants