You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: actions/docker/build-image/README.md
+3Lines changed: 3 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -133,6 +133,8 @@ permissions:
133
133
secret-envs: ""
134
134
135
135
# Cache type. Set to `false` or empty to disable cache entirely.
136
+
# For `gha`, cache restore remains enabled on untrusted default-branch-scoped triggers,
137
+
# but cache export is skipped automatically because GitHub only grants read-only cache access there.
136
138
# See https://docs.docker.com/build/cache/backends.
137
139
#
138
140
# Default: `gha`
@@ -203,6 +205,7 @@ permissions:
203
205
| **`secret-envs`** | List of secret environment variables to expose to the build (e.g., `key=envname, MY_SECRET=MY_ENV_VAR`). | **false** | - |
204
206
| | See <https://docs.docker.com/build/ci/github-actions/secrets/>. | | |
205
207
| **`cache-type`** | Cache type. Set to `false` or empty to disable cache entirely. | **false** | `gha` |
208
+
| | For `gha`, cache restore remains enabled on untrusted default-branch-scoped triggers, but cache export is skipped automatically because GitHub only grants read-only cache access there. | | |
206
209
| | See <https://docs.docker.com/build/cache/backends>. | | |
0 commit comments