-
Notifications
You must be signed in to change notification settings - Fork 1
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
10 changed files
with
57,999 additions
and
1 deletion.
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
/node_modules |
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
12.18.4 |
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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
NCC = ./node_modules/@vercel/ncc/dist/ncc/cli.js | ||
|
||
build: | ||
rm -rf dist | ||
$(NCC) build index.js --license LICENSE | ||
|
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 |
---|---|---|
@@ -1 +1,4 @@ | ||
# cached-docker-build-action | ||
# cached-docker-build-action | ||
|
||
|
||
--pull Always attempt to pull a newer version of the image |
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 |
---|---|---|
@@ -0,0 +1,23 @@ | ||
name: "Cached Docker Build" | ||
description: "Use Github Action's cache to store and retrieve docker images" | ||
|
||
branding: | ||
icon: "layers" | ||
color: "red" | ||
|
||
inputs: | ||
args: | ||
description: "docker build args" | ||
required: true | ||
cache_key: | ||
description: "Cache key" | ||
required: true | ||
expires: | ||
description: "Set expiration for cache (example '12 hours' or '3 days', ...)" | ||
|
||
# ${{runner.temp}} directory is guaranteed to be empty at the start of each job, even on self-hosted runners. | ||
|
||
runs: | ||
using: "node12" | ||
main: "dist/index.js" | ||
|
Large diffs are not rendered by default.
Oops, something went wrong.
Oops, something went wrong.