You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm not sure this is the right repo, but yesterday a few of my GitHub Actions builds started failing with:
#18 [11/19] COPY requirements.txt .
#18 ERROR: blob not found
------
> [11/19] COPY requirements.txt .:
------
Dockerfile:80
--------------------
78 | # [...]
79 | ENV [...]
80 | >>> COPY requirements.txt .
81 | # [...]
82 | RUN [...]
--------------------
error: failed to solve: failed to compute cache key: blob not found
Error: buildx failed with: error: failed to solve: failed to compute cache key: blob not found
I see a few other errors around failed to compute cache key, but none for blob not found nor related to GHA caching backend. Our GHA cache may have been pruned a bit, but should buildkit's gha caching be able to compensate?
The GitHub workflow is setup like:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
# Build the docker image
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
with:
version: v0.6.1 # v0.6.0 is the minimum version supporting the GH Actions cache backend
- name: Build docker image and push
uses: docker/build-push-action@v2
with:
build-args: GIT_SHA=${{ github.sha }}
cache-from: type=gha,scope=${{ github.workflow }}
cache-to: type=gha,mode=max,scope=${{ github.workflow }}
context: .
push: true
tags: "[...]:${{ github.sha }}"
and here's the docker version, etc:
BuildKit version
moby/buildkit:buildx-stable-1 => buildkitd github.com/moby/buildkit v0.9.0 c8bb937807d405d92be91f06ce2629e6202ac7a9
We have been using the gha cache for about 10 days and started seeing the same issue on all builds, always failing on the step that has changed from build to build. The image with all layers is around 200MB (.NET Core app) with a couple of builds per day.
#30 [frontend 9/10] COPY js ./js
#30 ERROR: blob not found
------
> [frontend 9/10] COPY js ./js:
------
Dockerfile:21
--------------------
19 | COPY css ./css
20 | COPY less ./less
21 | >>> COPY js ./js
22 | RUN yarn build
23 |
--------------------
error: failed to solve: failed to compute cache key: blob not found
Error: buildx failed with: error: failed to solve: failed to compute cache key: blob not found
I'm not sure this is the right repo, but yesterday a few of my GitHub Actions builds started failing with:
I see a few other errors around
failed to compute cache key
, but none forblob not found
nor related to GHA caching backend. Our GHA cache may have been pruned a bit, but should buildkit'sgha
caching be able to compensate?The GitHub workflow is setup like:
and here's the docker version, etc:
I spot checked the versions ^ above between a passing and failing run and things appear to be the same.
The text was updated successfully, but these errors were encountered: