Skip to content

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

Closed

Description

@matthinrichsen-wf

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

Activity

  1. jrilettovo commented on Jul 29, 2024

    @jrilettovo

    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.

  2. crazy-max commented on Jul 29, 2024

    @crazy-max
    Member

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions