Skip to content

"failed to find target default" caused by Docker buildx 0.26.0 #35155

@ytyt-lead

Description

@ytyt-lead

Description

ci.yml

jobs:
  deploy:
    runs-on: ubuntu-latest
    steps:
      - name: Checkout
        uses: actions/checkout@v4

     [some extra steps]

      - name: Build new containers
        run: docker compose -f build/compose.yml -f build/compose.prod.yml build

Logs from stage "Build new containers"

#1 [internal] load local bake definitions
#1 reading from stdin 1.43kB done
#1 DONE 0.0s
failed to find target default

The root cause of the problem

docker/buildx#3328

It seems that the Gitea runner images were updated a couple of days ago. As a result, they started using Docker buildx version 0.26.0, which caused problems with Gitea runners.

Possible solutions:

Downgrade/upgrade buildx in runner images, since this issue was fixed in version 0.26.1.

Gitea Version

Gitea version 1.23.5 built with GNU Make 4.3, go1.23.7 : bindata, sqlite, sqlite_unlock_notify

Can you reproduce the bug on the Gitea demo site?

No

Log Gist

No response

Screenshots

No response

Git Version

No response

Operating System

ubuntu-latest

How are you running Gitea?

Self-hosted, with runners.

Database

None

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions