action suddenly failing with no change in workflows
Contributing guidelines
- [X] I've read the contributing guidelines and wholeheartedly agree
I've found a bug, and:
- [X] The documentation does not mention anything about my problem
- [X] There are no open or closed issues that are related to my problem
Description
the action repeatedly fails. here's the error:
or as text:
Booting builder
/usr/bin/docker buildx inspect --bootstrap --builder builder-85d1d6d9-4699-4473-8322-ba8e5611d0ea
#1 [internal] booting buildkit
#1 pulling image moby/buildkit:buildx-stable-1
#1 pulling image moby/buildkit:buildx-stable-1 0.2s done
#1 ERROR: Error response from daemon: Head "https://registry-1.docker.io/v2/moby/buildkit/manifests/buildx-stable-1": unauthorized: incorrect username or password
------
> [internal] booting buildkit:
------
ERROR: Error response from daemon: Head "https://registry-1.docker.io/v2/moby/buildkit/manifests/buildx-stable-1": unauthorized: incorrect username or password
Error: The process '/usr/bin/docker' failed with exit code 1
Expected behaviour
it should set up buildx
Actual behaviour
the action fails
Repository URL
No response
Workflow run URL
No response
YAML workflow
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
### Workflow logs
Run docker/setup-buildx-action@v2 with: driver: docker-container buildkitd-flags: --allow-insecure-entitlement security.insecure --allow-insecure-entitlement network.host install: false use: true cleanup: true Docker info /usr/bin/docker version Client: Docker Engine - Community Version: 26.1.3 API version: 1.45 Go version: go1.21.10 Git commit: b72abbb Built: Thu May 16 08:33:29 2024 OS/Arch: linux/amd64 Context: default
Server: Docker Engine - Community Engine: Version: 26.1.3 API version: 1.45 (minimum version 1.24) Go version: go1.21.10 Git commit: 8e96db1 Built: Thu May 16 08:33:29 2024 OS/Arch: linux/amd64 Experimental: false containerd: Version: 1.7.22 GitCommit: 7f7fdf5fed64eb6a7caf99b3e12efcf9d60e311c runc: Version: 1.1.14 GitCommit: v1.1.14-0-g2c9f560 docker-init: Version: 0.19.0 GitCommit: de40ad0 /usr/bin/docker info Client: Docker Engine - Community Version: 26.1.3 Context: default Debug Mode: false Plugins: buildx: Docker Buildx (Docker Inc.) Version: v0.17.1 Path: /usr/libexec/docker/cli-plugins/docker-buildx compose: Docker Compose (Docker Inc.) Version: v2.27.1 Path: /usr/libexec/docker/cli-plugins/docker-compose
Server: Containers: 0 Running: 0 Paused: 0 Stopped: 0 Images: 15 Server Version: 26.1.3 Storage Driver: overlay2 Backing Filesystem: extfs Supports d_type: true Using metacopy: false Native Overlay Diff: false userxattr: false Logging Driver: json-file Cgroup Driver: cgroupfs Cgroup Version: 2 Plugins: Volume: local Network: bridge host ipvlan macvlan null overlay Log: awslogs fluentd gcplogs gelf journald json-file local splunk syslog Swarm: inactive Runtimes: io.containerd.runc.v2 runc Default Runtime: runc Init Binary: docker-init containerd version: 7f7fdf5fed64eb6a7caf99b3e12efcf9d60e311c runc version: v1.1.14-0-g2c9f560 init version: de40ad0 Security Options: apparmor seccomp Profile: builtin cgroupns Kernel Version: 6.8.0-1014-azure Operating System: Ubuntu 22.04.5 LTS OSType: linux Architecture: x86_64 CPUs: 2 Total Memory: 7.753GiB Name: fv-az1715-685 ID: 50f520d9-697c-4217-af0f-2af166f71cd2 Docker Root Dir: /var/lib/docker Debug Mode: false Username: githubactions Experimental: false Insecure Registries: 127.0.0.0/8 Live Restore Enabled: false
Buildx version /usr/bin/docker buildx version github.com/docker/buildx v0.17.1 257815a6fbaee88976808020bf04274388275ae8 Creating a new builder instance /usr/bin/docker buildx create --name builder-85d1d6d9-4699-4473-8322-ba8e5611d0ea --driver docker-container --buildkitd-flags --allow-insecure-entitlement security.insecure --allow-insecure-entitlement network.host --use builder-85d1d6d9-4699-4473-8322-ba8e5611d0ea Booting builder /usr/bin/docker buildx inspect --bootstrap --builder builder-85d1d6d9-4699-4473-8322-ba8e5611d0ea #1 [internal] booting buildkit #1 pulling image moby/buildkit:buildx-stable-1 #1 pulling image moby/buildkit:buildx-stable-1 0.2s done #1 ERROR: Error response from daemon: Head "https://registry-1.docker.io/v2/moby/buildkit/manifests/buildx-stable-1": unauthorized: incorrect username or password
[internal] booting buildkit:
ERROR: Error response from daemon: Head "https://registry-1.docker.io/v2/moby/buildkit/manifests/buildx-stable-1": unauthorized: incorrect username or password Error: The process '/usr/bin/docker' failed with exit code 1
### BuildKit logs
_No response_
### Additional info
_No response_
Yeah I'm seeing this too. I'm thinking some kind of Docker Hub issue.
I'm having the same problem too.
Same issue here
Same error here!
Holding up our deployment. I wonder if Docker Hub just added the need for credentials when getting buildkit?
EDIT: also want to note that we have this pinned at version 3, not 2. Same error.
same here!
same here!
I am also receiving this error. Seems like Docker Hub just changed the auth policy for moby/buildkit.
It does seem to be an issue in docker hub, doing a HEAD request to https://registry-1.docker.io/v2/moby/buildkit/manifests/buildx-stable-1 returns a 401, although pulling the image (docker pull moby/buildkit:buildx-stable-1) works
i have the same issue
Same here
Same here
Same here
I can't find anything concrete, but I think that docker hub may have updated to require logins when accessing the manifest api?
I'm gonna try to login with a throw away account to try getting around this.
There's an active incident: https://www.dockerstatus.com/
From : https://www.dockerstatus.com/
Anonymous pulls and password auth continue to work.
Using Google's artifact registry but still having the same issue.
https://www.dockerstatus.com/
We are on a forest fire 🔥
Our CI/CD pipelines
Everyone having a nice Friday? :)