Skip to content

Commit

Permalink
fix: docker buildx cache restore not working (#2236)
Browse files Browse the repository at this point in the history
* To take effect artifacts v4 pr is needed with adjusted claims
  • Loading branch information
ChristopherHX committed Mar 5, 2024
1 parent 934b13a commit 75e4ad9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/artifactcache/handler.go
Expand Up @@ -385,7 +385,7 @@ func (h *Handler) findCache(db *bolthold.Store, keys []string, version string) (
}
stop := fmt.Errorf("stop")

for _, prefix := range keys[1:] {
for _, prefix := range keys {
found := false
prefixPattern := fmt.Sprintf("^%s", regexp.QuoteMeta(prefix))
re, err := regexp.Compile(prefixPattern)
Expand Down

0 comments on commit 75e4ad9

Please sign in to comment.