Skip to content

Commit d2b646f

Browse files
authored
Update README.md
1 parent e99a589 commit d2b646f

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@ jobs:
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

@@ -62,6 +64,8 @@ jobs:
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: |

0 commit comments

Comments
 (0)