Skip to content
This repository has been archived by the owner on Jan 22, 2021. It is now read-only.

Commit

Permalink
fix caching load between builds
Browse files Browse the repository at this point in the history
  • Loading branch information
jsturtevant committed Oct 30, 2019
1 parent 4a722c6 commit c85dc49
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
name: Save Docker image layer cache
command: make save
- save_cache:
key: v1-{{ .Branch }}-{{ epoch }}
key: v1-{{ .Environment.CIRCLE_WORKFLOW_ID }}
paths:
- app.tar
build_pr:
Expand All @@ -48,7 +48,7 @@ jobs:
echo 'export IMAGE="public/k8s/metrics/adapter"' >> $BASH_ENV
- restore_cache:
keys:
- v1-{{ .Branch }}
- v1-{{ .Environment.CIRCLE_WORKFLOW_ID }}
- run: docker load < app.tar
- run: make tag-ci
- run: make push
Expand Down

0 comments on commit c85dc49

Please sign in to comment.