forked from ScribeMD/docker-cache
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yaml
31 lines (31 loc) · 887 Bytes
/
action.yaml
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
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
bash:
description: Path to the Bash executable
required: false
default: "/usr/bin/bash"
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: node20
main: dist/main/index.js
post-if: success()
post: dist/post/index.js