Merge pull request #1773 from solidnerd/fix-circleci-cache

Invalidate cache for all builds
This commit is contained in:
Niclas Mietz 2018-11-19 07:43:43 +01:00 committed by GitHub
commit 87e8a10af1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -20,7 +20,7 @@ jobs:
- restore_cache:
keys:
- cache-{{ .Branch }}
- cache-v2-{{ .Branch }}
paths:
- /tmp/cache/layers.tar
@ -65,7 +65,7 @@ jobs:
docker save -o /tmp/cache/layers.tar ${IMAGE_NAME}
- save_cache:
key: cache-{{ .Branch }}-{{ epoch }}
key: cache-v2-{{ .Branch }}
paths:
- /tmp/cache/layers.tar