File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 11# action-docker-layer-caching [ ![ Readme Test] ( https://github.com/satackey/action-docker-layer-caching/workflows/Readme%20Test/badge.svg )] ( https://github.com/satackey/action-docker-layer-caching/actions?query=workflow%3A%22Readme+Test%22 ) [ ![ CI] ( https://github.com/satackey/action-docker-layer-caching/workflows/CI/badge.svg )] ( https://github.com/satackey/action-docker-layer-caching/actions?query=workflow%3ACI )
22
3- With only one additional line, you can enable Docker layer caching .
3+ Enable Docker Layer Caching by adding only one line .
44
55You can use ` docker build ` and ` docker-compose build ` with the cache without any special configuration,
66and there is also support for multi-stage builds.
1717 steps :
1818 - uses : actions/checkout@v2
1919
20- # Avoid caching pull-only images.(docker pull is faster than caching.)
20+ # Avoid caching pull-only images.(docker pull is faster than caching in most cases .)
2121 - run : docker-compose pull
2222
2323 # Images created after this action is called are cached.
2727
2828---
2929
30- By default, the cache is separated by the name of the workflow.
30+ By default, the cache is separated by the workflow name .
3131You can configure manually cache keys.
3232
3333` ` ` yaml
You can’t perform that action at this time.
0 commit comments