Skip to content

Commit 75e4ad9

Browse files
fix: docker buildx cache restore not working (#2236)
* To take effect artifacts v4 pr is needed with adjusted claims
1 parent 934b13a commit 75e4ad9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/artifactcache/handler.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -385,7 +385,7 @@ func (h *Handler) findCache(db *bolthold.Store, keys []string, version string) (
385385
}
386386
stop := fmt.Errorf("stop")
387387

388-
for _, prefix := range keys[1:] {
388+
for _, prefix := range keys {
389389
found := false
390390
prefixPattern := fmt.Sprintf("^%s", regexp.QuoteMeta(prefix))
391391
re, err := regexp.Compile(prefixPattern)

0 commit comments

Comments
 (0)