-
Notifications
You must be signed in to change notification settings - Fork 36
Expand file tree
/
Copy pathaction.yaml
More file actions
33 lines (33 loc) · 997 Bytes
/
action.yaml
File metadata and controls
33 lines (33 loc) · 997 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
name: Docker Cache
author: Kurt von Laven
description: Cache Docker images whether built or pulled.
branding:
icon: download
color: blue
inputs:
key:
description: >
The cache key to ferry to the official GitHub cache action. restore-keys
are not supported, because partial cache restoration leads to a "snowball"
effect.
required: true
included-images:
description: >
If "all", all images will be included.
Otherwise, specify precisely all needed images to be included separated with spaces.
required: true
default: "all"
read-only:
description: If "true", disables saving the cache upon cache miss
required: false
default: "false"
outputs:
cache-hit:
description: >
The ferried output of the official GitHub cache action. True on cache hit
(even if the subsequent docker load failed) and false on cache miss.
runs:
using: node16
main: dist/main/index.js
post-if: success()
post: dist/post/index.js