Skip to content

Commit

Permalink
test9
Browse files Browse the repository at this point in the history
  • Loading branch information
bloodearnest committed Feb 13, 2025
1 parent 3fab5e9 commit 21f9a3f
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,14 @@ jobs:
- name: Install uv
uses: astral-sh/setup-uv@4db96194c378173c656ce18a155ffc14a9fc4355

# Debug step to find cache locations
- name: Debug BuildKit locations
run: |
echo "Checking potential BuildKit cache locations:"
sudo ls -la /var/lib/buildkit || echo "/var/lib/buildkit does not exist"
sudo ls -la /var/lib/docker/buildkit || echo "/var/lib/docker/buildkit does not exist"
sudo find /var/lib/docker -name "buildkit" 2>/dev/null || echo "No buildkit directory found in /var/lib/docker"
- name: Calculate cache key content hash
id: cache_content_key
# Because we want to dynamically include matrix.version in the path, we
Expand All @@ -40,7 +48,7 @@ jobs:
- name: Cache Docker buildx caches
uses: actions/cache@v4
with:
path: /var/lib/buildkit
path: /var/lib/docker/buildkit
key: ${{ runner.os }}-${{ matrix.version }}-buildx-${{ steps.cache_content_key.outputs.cache_content_key }}
# fallback to older cache keys if needed
restore-keys: |
Expand Down

0 comments on commit 21f9a3f

Please sign in to comment.