gobuildcache is a GOCACHEPROG process using the The Go Cloud Development Kit to support Azure, GCS and S3 storage providers.
export GOCACHEPROG="./gobuildcache <bucket url>"A readonly mode is supported, which works well if ?anonymous=true is also passed as a bucket parameter to the bucket URL if the bucket is publically accessible. This parameter seems to only be supported by GCS and S3 though.
For more information on supported bucket URL parameters see https://gocloud.dev/howto/blob/#services.
-vfor verbose logging.-pto specify key prefix.-readonlyto only support fetching of cache items.