Browse Source

ajout du cache

main
Julien Dudek 6 years ago
parent
commit
d92fc4a051
  1. 6
      .circleci/config.yml

6
.circleci/config.yml

@ -98,6 +98,8 @@ jobs:
- image: circleci/buildpack-deps:stretch
steps:
- checkout
- restore_cache:
key: yarn-cache{{ checksum "yarn.lock" }}
- setup_remote_docker
- run: docker image build --tag julienm1/my-awesome-ci-expr:app .
- run: docker save -o image.tar julienm1/my-awesome-ci-expr
@ -105,3 +107,7 @@ jobs:
root: ./
paths:
- ./docker/image.tar
- save_cache:
key: yarn-cache{{ checksum "yarn.lock" }}
paths:
- ./node_modules
Loading…
Cancel
Save