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:
parent
aaf05691c0
commit
21f71e5cdc
1 changed files with 0 additions and 5 deletions
|
@ -431,12 +431,7 @@ func findCache(db *bolthold.Store, repo string, keys []string, version string) (
|
||||||
return nil, fmt.Errorf("find cache: %w", err)
|
return nil, fmt.Errorf("find cache: %w", err)
|
||||||
}
|
}
|
||||||
return cache, nil
|
return cache, nil
|
||||||
} else if cache.Complete {
|
|
||||||
return cache, nil
|
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
for _, prefix := range keys {
|
|
||||||
prefixPattern := fmt.Sprintf("^%s", regexp.QuoteMeta(prefix))
|
prefixPattern := fmt.Sprintf("^%s", regexp.QuoteMeta(prefix))
|
||||||
re, err := regexp.Compile(prefixPattern)
|
re, err := regexp.Compile(prefixPattern)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue