mirror of
https://github.com/sameersbn/docker-gitlab.git
synced 2026-01-18 13:58:25 +00:00
Merge pull request #1773 from solidnerd/fix-circleci-cache
Invalidate cache for all builds
This commit is contained in:
commit
87e8a10af1
@ -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
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user