diff --git a/README.md b/README.md index aafe2ce63e21..8e916cb96a4a 100644 --- a/README.md +++ b/README.md @@ -506,12 +506,12 @@ in your workflow to expose the runtime. * `max`: export all the layers of all intermediate steps * `scope=`: which scope cache object belongs to (default `buildkit`) * `ignore-error=`: specify if error is ignored in case cache export fails (default: `false`) -* `timeout=`: sets the timeout duration for cache export (default: `5m`) +* `timeout=`: sets the timeout duration for cache export (default: `10m`) `--import-cache` options: * `type=gha` * `scope=`: which scope cache object belongs to (default `buildkit`) -* `timeout=`: sets the timeout duration for cache import (default: `5m`) +* `timeout=`: sets the timeout duration for cache import (default: `10m`) #### S3 cache (experimental) diff --git a/cache/remotecache/gha/gha.go b/cache/remotecache/gha/gha.go index 47f1a2db7985..abc2b30aa442 100644 --- a/cache/remotecache/gha/gha.go +++ b/cache/remotecache/gha/gha.go @@ -39,7 +39,7 @@ const ( attrURL = "url" version = "1" - defaultTimeout = 5 * time.Minute + defaultTimeout = 10 * time.Minute ) type Config struct {