File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change 3636 # the cache is created without them in the post run.
3737 # It also restores the cache if it exists.
3838 - uses : satackey/action-docker-layer-caching@v0.0.8
39+ # Ignore the failure of a step and avoid terminating the job.
40+ continue-on-error : true
3941
4042 - run : docker-compose up --build
4143
6264 # the cache is created without them in the post run.
6365 # It also restores the cache if it exists.
6466 - uses : satackey/action-docker-layer-caching@v0.0.8
67+ # Ignore the failure of a step and avoid terminating the job.
68+ continue-on-error : true
6569
6670 - name : Build the Docker image
6771 run : docker build . --file Dockerfile --tag my-image-name:$(date +%s)
@@ -80,6 +84,8 @@ You can also set the cache key manually, like the official [actions/cache](https
8084
8185``` yaml
8286 - uses : satackey/action-docker-layer-caching@v0.0.8
87+ # Ignore the failure of a step and avoid terminating the job.
88+ continue-on-error : true
8389 with :
8490 key : foo-docker-cache-{hash}
8591 restore-keys : |
You can’t perform that action at this time.
0 commit comments