Looking at the directions for running Dagger in GitHub: https://docs.dagger.io/145912/ci#github-actions it's not clear how the builds are being cached in GitHub Actions' cache (i.e. actions/cache)?
I tried the following (since /var/lib/dagger is referenced in other Engine setups):
- name: Setup Dagger BuildKit cache
id: cache-dagger-buildkit
uses: actions/cache@v3
with:
path: /var/lib/dagger
key: ${{ runner.os }}-dagger-buildkit
timeout-minutes: 2
but GitHub said the /var/lib/dagger directory was empty? And re-running my GitHub Actions job shows that containers are being re-built instead of being served from cache somewhere...?