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
@@ -134,6 +134,8 @@ permissions:
134
134
secret-envs: ""
135
135
136
136
# Cache type. Set to `false` or empty to disable cache entirely.
137
+
# For `gha`, cache restore remains enabled on untrusted default-branch-scoped triggers,
138
+
# but cache export is skipped automatically because GitHub only grants read-only cache access there.
137
139
# See https://docs.docker.com/build/cache/backends.
138
140
#
139
141
# Default: `gha`
@@ -204,6 +206,7 @@ permissions:
204
206
| **`secret-envs`** | List of secret environment variables to expose to the build (e.g., `key=envname, MY_SECRET=MY_ENV_VAR`). | **false** | - |
205
207
| | See <https://docs.docker.com/build/ci/github-actions/secrets/>. | | |
206
208
| **`cache-type`** | Cache type. Set to `false` or empty to disable cache entirely. | **false** | `gha` |
209
+
| | 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. | | |
207
210
| | See <https://docs.docker.com/build/cache/backends>. | | |
0 commit comments