Describe the bug
Using the following configuration, the cache works great across jobs in the same run (even with the default values of key and restore-keys, but, re-running the workflow, the cache is never found:
job1:
name: job1
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: satackey/action-docker-layer-caching@v0.0.11
with:
key: images-docker-cached-${{ github.workflow }}
restore-keys: |
images-docker-cached-
- name: Build images
run: |
cd docker-compose/
docker-compose -f docker-compose-images.yaml build
Output:
Root cache could not be found. aborting.
Don't know if it's related with: #49
Because the post step works fine, and again, puts all the layers in cache (and can be used in the next job), but never in the next run.
Expected behavior
The cache can be used across different runs.
Runner Environment:
I am doing something wrong?
Thanks
Describe the bug
Using the following configuration, the cache works great across jobs in the same run (even with the default values of
keyandrestore-keys, but, re-running the workflow, the cache is never found:Output:
Don't know if it's related with: #49
Because the post step works fine, and again, puts all the layers in cache (and can be used in the next job), but never in the next run.
Expected behavior
The cache can be used across different runs.
Runner Environment:
I am doing something wrong?
Thanks