Skip to content

Commit

Permalink
chore: fix cache key to include CIRCLE_TAG
Browse files Browse the repository at this point in the history
ensuring workflow steps read artifacts from the right place
  • Loading branch information
pjenvey committed Oct 9, 2019
1 parent 9843e23 commit 5d2434e
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 @@ -197,7 +197,7 @@ jobs:
steps:
- setup_remote_docker
- restore_cache:
key: v1-{{.Branch}}
key: v1-{{ .Branch }}-{{ .Environment.CIRCLE_TAG }}
- run:
name: Restore Docker image cache
command: docker load -i /home/circleci/cache/docker.tar
Expand All @@ -212,7 +212,7 @@ jobs:
steps:
- setup_remote_docker
- restore_cache:
key: v1-{{.Branch}}
key: v1-{{ .Branch }}-{{ .Environment.CIRCLE_TAG }}
- run:
name: Restore Docker image cache
command: docker load -i /home/circleci/cache/docker.tar
Expand Down

0 comments on commit 5d2434e

Please sign in to comment.