use cache by default

This commit is contained in:
2026-10-19 14:59:49 +02:00
parent 192cc26ca1
commit e15f7896cb
2 changed files with 6 additions and 3 deletions
+4 -1
View File
@@ -54,7 +54,10 @@ Builds and pushes one image with a uniform tag set from
- `platforms`: default `linux/amd64,linux/arm64`. QEMU is set up when an `arm` platform is listed.
- `build-args`: newline-separated `KEY=value`.
- `push`: `"true"` (default) or `"false"`.
- `cache`: `"true"` keeps the layer cache in Harbor as `<image>:buildcache` (default `"false"`).
- `cache`: `"true"` (default) or `"false"`. Keeps the layer cache in Harbor as
`<image>:buildcache`: every build reads it, only pushing builds write it. The tag lives next to
the image, so a Harbor tag retention rule on the project has to keep it (e.g. exclude
`buildcache`).
`push` and `cache` are strings, not booleans: on Gitea 1.27 with gitea/runner v2.0.1 every boolean
input of a called workflow arrives as `false`. An expression like