Skip to content

Commit 325a8bf

Browse files
committed
update troubleshooting markdown
Signed-off-by: CrazyMax <[email protected]>
1 parent 0259cb0 commit 325a8bf

File tree

1 file changed

+0
-27
lines changed

1 file changed

+0
-27
lines changed

TROUBLESHOOTING.md

-27
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
* [BuildKit container logs](#buildkit-container-logs)
55
* [With containerd](#with-containerd)
66
* [`repository name must be lowercase`](#repository-name-must-be-lowercase)
7-
* [Image not loaded](#image-not-loaded)
87

98
## Cannot push to a registry
109

@@ -136,29 +135,3 @@ Or a dedicated step to sanitize the slug:
136135
push: true
137136
tags: ${{ steps.repo_slug.outputs.result }}:latest
138137
```
139-
140-
## Image not loaded
141-
142-
Sometimes when your workflows are heavy consumers of disk storage, it can happen that build-push-action declares that the built image is loaded, but then not found in the following workflow steps.
143-
144-
- You can use the following solution as workaround, to free space on disk before building docker image using the following workflow step
145-
146-
```yaml
147-
# Free disk space
148-
- name: Free Disk space
149-
shell: bash
150-
run: |
151-
sudo rm -rf /usr/local/lib/android # will release about 10 GB if you don't need Android
152-
sudo rm -rf /usr/share/dotnet # will release about 20GB if you don't need .NET
153-
```
154-
155-
- Another workaround can be to call `docker/setup-buildx-action` with docker driver
156-
157-
```yaml
158-
name: Set up Docker Buildx
159-
uses: docker/setup-buildx-action@v3
160-
with:
161-
driver: docker
162-
```
163-
164-
More details in the [related issue](https://github.com/docker/build-push-action/issues/321)

0 commit comments

Comments
 (0)