Enable debug for buildx (#13)

To figure out:

https://gitea.com/gitea/runner-images/actions/runs/23/jobs/0

```text
#7 exporting to image
#7 pushing layers 41.0s done
#7 ERROR: failed to push gitea/runner-images:ubuntu-22.04: failed to copy: unexpected status from PUT request to https://registry-1.docker.io/v2/gitea/runner-images/blobs/uploads/cf46ee76-f28f-440e-bed7-2032e9c63701?_state=HbE9pgg2q0_ufbqUQgkYL-Ir0Y3_gO_c-NYLw7vWF4x7Ik5hbWUiOiJnaXRlYS9ydW5uZXItaW1hZ2VzIiwiVVVJRCI6ImNmNDZlZTc2LWYyOGYtNDQwZS1iZWQ3LTIwMzJlOWM2MzcwMSIsIk9mZnNldCI6MCwiU3RhcnRlZEF0IjoiMjAyNC0wNy0xMFQxMDoxMzoyMC4wMjk0ODg1NTZaIn0%3D&digest=sha256%3A89317e7cb0cfefc3b187f1ae94e5524d9966a423d63412d43b09ea0e5aaebfd0: 400 Bad request
------
 > exporting to image:
------
ERROR: failed to solve: failed to push gitea/runner-images:ubuntu-22.04: failed to copy: unexpected status from PUT request to https://registry-1.docker.io/v2/gitea/runner-images/blobs/uploads/cf46ee76-f28f-440e-bed7-2032e9c63701?_state=HbE9pgg2q0_ufbqUQgkYL-Ir0Y3_gO_c-NYLw7vWF4x7Ik5hbWUiOiJnaXRlYS9ydW5uZXItaW1hZ2VzIiwiVVVJRCI6ImNmNDZlZTc2LWYyOGYtNDQwZS1iZWQ3LTIwMzJlOWM2MzcwMSIsIk9mZnNldCI6MCwiU3RhcnRlZEF0IjoiMjAyNC0wNy0xMFQxMDoxMzoyMC4wMjk0ODg1NTZaIn0%3D&digest=sha256%3A89317e7cb0cfefc3b187f1ae94e5524d9966a423d63412d43b09ea0e5aaebfd0: 400 Bad request
::group::Reference
builder-7537891e-051a-4935-bee7-f52cb4dae178/builder-7537891e-051a-4935-bee7-f52cb4dae1780/wfpwvb7z2vc7huxnl57gi76aw
::endgroup::
::group::Check build summary support
::warning::Build summary is not yet supported on GHES
::endgroup::
::error::buildx failed with: ERROR: failed to solve: failed to push gitea/runner-images:ubuntu-22.04: failed to copy: unexpected status from PUT request to https://registry-1.docker.io/v2/gitea/runner-images/blobs/uploads/cf46ee76-f28f-440e-bed7-2032e9c63701?_state=HbE9pgg2q0_ufbqUQgkYL-Ir0Y3_gO_c-NYLw7vWF4x7Ik5hbWUiOiJnaXRlYS9ydW5uZXItaW1hZ2VzIiwiVVVJRCI6ImNmNDZlZTc2LWYyOGYtNDQwZS1iZWQ3LTIwMzJlOWM2MzcwMSIsIk9mZnNldCI6MCwiU3RhcnRlZEF0IjoiMjAyNC0wNy0xMFQxMDoxMzoyMC4wMjk0ODg1NTZaIn0%253D&digest=sha256%253A89317e7cb0cfefc3b187f1ae94e5524d9966a423d63412d43b09ea0e5aaebfd0: 400 Bad request
```

Reviewed-on: https://gitea.com/gitea/runner-images/pulls/13
This commit is contained in:
Jason Song
2024-07-10 10:30:26 +00:00
parent 6c7c3e019c
commit 8d00b05299

View File

@@ -21,6 +21,8 @@ jobs:
- name: Set up Docker BuildX
uses: docker/setup-buildx-action@v3
with:
buildkitd-flags: --debug
- name: Login to DockerHub
uses: docker/login-action@v3
@@ -89,6 +91,8 @@ jobs:
- name: Set up Docker BuildX
uses: docker/setup-buildx-action@v3
with:
buildkitd-flags: --debug
- name: Login to DockerHub
uses: docker/login-action@v3