-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
5 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -35,13 +35,13 @@ 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/[email protected].10 | ||
- uses: satackey/[email protected].11 | ||
# Ignore the failure of a step and avoid terminating the job. | ||
continue-on-error: true | ||
|
||
- run: docker-compose up --build | ||
|
||
# Finally, "Post Run satackey/[email protected].10", | ||
# Finally, "Post Run satackey/[email protected].11", | ||
# which is the process of saving the cache, will be executed. | ||
``` | ||
|
||
|
@@ -63,14 +63,14 @@ 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/[email protected].10 | ||
- uses: satackey/[email protected].11 | ||
# Ignore the failure of a step and avoid terminating the job. | ||
continue-on-error: true | ||
|
||
- name: Build the Docker image | ||
run: docker build . --file Dockerfile --tag my-image-name:$(date +%s) | ||
|
||
# Finally, "Post Run satackey/[email protected].10", | ||
# Finally, "Post Run satackey/[email protected].11", | ||
# which is the process of saving the cache, will be executed. | ||
``` | ||
|
||
|
@@ -83,7 +83,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/[email protected].10 | ||
- uses: satackey/[email protected].11 | ||
# Ignore the failure of a step and avoid terminating the job. | ||
continue-on-error: true | ||
with: | ||
|