try circle CI dlc
@@ -38,7 +38,8 @@ jobs:
- image: circleci/buildpack-deps:stretch
steps:
- checkout
- - setup_remote_docker
+ - setup_remote_docker:
+ docker_layer_caching: true
- run: cd api
- run:
name: Build Docker image
@@ -56,7 +57,8 @@ jobs:
steps:
- attach_workspace:
at: /tmp/workspace
- - setup_remote_docker
+ - setup_remote_docker:
+ docker_layer_caching: true
- checkout
- run:
name: Load archived Docker image
@@ -108,7 +110,8 @@ jobs:
- image: circleci/golang:1.13.11
steps:
- checkout
- - setup_remote_docker
+ - setup_remote_docker:
+ docker_layer_caching: true
- run:
name: Build Docker image
working_directory: ./controller
@@ -130,7 +133,8 @@ jobs:
- image: circleci/golang:1.13.11
steps:
- checkout
- - setup_remote_docker
+ - setup_remote_docker:
+ docker_layer_caching: true
- run:
name: cp controller
working_directory: ./operator
