bake: update ReadRemoteFiles to use buildkit api

Signed-off-by: Justin Chadwell <me@jedevc.com>
This commit is contained in:
Justin Chadwell
2023-04-12 10:57:54 +01:00
parent 62a21520ea
commit 871f865ac8
11 changed files with 1417 additions and 41 deletions

View File

@@ -27,9 +27,6 @@ import (
)
var (
httpPrefix = regexp.MustCompile(`^https?://`)
gitURLPathWithFragmentSuffix = regexp.MustCompile(`\.git(?:#.+)?$`)
validTargetNameChars = `[a-zA-Z0-9_-]+`
targetNamePattern = regexp.MustCompile(`^` + validTargetNameChars + `$`)
)