From a4aecb7c0dbb5233d37980390c3c5f996f279fcd Mon Sep 17 00:00:00 2001 From: satackey <21271711+satackey@users.noreply.github.com> Date: Sat, 15 Aug 2020 11:40:39 +0900 Subject: [PATCH] Update README --- .github/workflows/test_readme.yml | 4 ++-- README.md | 10 +++++----- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/test_readme.yml b/.github/workflows/test_readme.yml index 8347793d..c291a349 100644 --- a/.github/workflows/test_readme.yml +++ b/.github/workflows/test_readme.yml @@ -16,7 +16,7 @@ jobs: - uses: actions/checkout@v2 - run: docker-compose -f test_project/docker-compose.yml -p test_project pull - - uses: satackey/action-docker-layer-caching@v0.0.5 + - uses: satackey/action-docker-layer-caching@v0.0.6 with: key: docker-layer-caching-${{ github.workflow }}-${{ github.event_name }}-{hash} restore-keys: docker-layer-caching-${{ github.workflow }}-${{ github.event_name }}- @@ -34,7 +34,7 @@ jobs: - uses: actions/checkout@v2 - run: docker-compose -f test_project/docker-compose.yml -p test_project pull - - uses: satackey/action-docker-layer-caching@v0.0.5 + - uses: satackey/action-docker-layer-caching@v0.0.6 with: key: docker-layer-caching-${{ github.workflow }}-${{ github.event_name }}-{hash} restore-keys: docker-layer-caching-${{ github.workflow }}-${{ github.event_name }}- diff --git a/README.md b/README.md index 7c2dcfd5..8a35ddf4 100644 --- a/README.md +++ b/README.md @@ -35,11 +35,11 @@ jobs: # In this step, this action saves a list of existing images, # the cache is created without them in the post run. # It also restores the cache if it exists. - - uses: satackey/action-docker-layer-caching@v0.0.5 + - uses: satackey/action-docker-layer-caching@v0.0.6 - run: docker-compose up --build - # Finally, "Post Run satackey/action-docker-layer-caching@v0.0.5", + # Finally, "Post Run satackey/action-docker-layer-caching@v0.0.6", # which is the process of saving the cache, will be executed. ``` @@ -61,12 +61,12 @@ jobs: # In this step, this action saves a list of existing images, # the cache is created without them in the post run. # It also restores the cache if it exists. - - uses: satackey/action-docker-layer-caching@v0.0.5 + - uses: satackey/action-docker-layer-caching@v0.0.6 - name: Build the Docker image run: docker build . --file Dockerfile --tag my-image-name:$(date +%s) - # Finally, "Post Run satackey/action-docker-layer-caching@v0.0.5", + # Finally, "Post Run satackey/action-docker-layer-caching@v0.0.6", # which is the process of saving the cache, will be executed. ``` @@ -79,7 +79,7 @@ By default, the cache is separated by the workflow name. You can also set the cache key manually, like the official [actions/cache](https://github.com/actions/cache#usage) action. ```yaml - - uses: satackey/action-docker-layer-caching@v0.0.5 + - uses: satackey/action-docker-layer-caching@v0.0.6 with: key: foo-docker-cache-{hash} restore-keys: |