1
0
Fork 0
mirror of https://code.forgejo.org/forgejo/runner.git synced 2025-09-15 18:57:01 +00:00

Revert "fix: docker buildx cache restore not working" (#173)

This reverts commit f147e45da3.

https://code.forgejo.org/forgejo/act/pulls/122/commits/f147e45da3b29e555527cd178a5c07f1240aeb62

is not the same as

https://github.com/nektos/act/pull/2236/files

Refs: https://code.forgejo.org/forgejo/act/pulls/122

Reviewed-on: https://code.forgejo.org/forgejo/act/pulls/173
Reviewed-by: Michael Kriese <michael.kriese@gmx.de>
Co-authored-by: Earl Warren <contact@earl-warren.org>
Co-committed-by: Earl Warren <contact@earl-warren.org>
This commit is contained in:
Earl Warren 2025-07-07 11:06:04 +00:00 committed by earl-warren
parent aaf05691c0
commit 21f71e5cdc

View file

@ -431,12 +431,7 @@ func findCache(db *bolthold.Store, repo string, keys []string, version string) (
return nil, fmt.Errorf("find cache: %w", err)
}
return cache, nil
} else if cache.Complete {
return cache, nil
}
}
for _, prefix := range keys {
prefixPattern := fmt.Sprintf("^%s", regexp.QuoteMeta(prefix))
re, err := regexp.Compile(prefixPattern)
if err != nil {