mirror of
https://github.com/GoogleContainerTools/kaniko
synced 2026-10-22 11:31:51 +02:00
chore: upgrade all the dependencies to their latest versions (#3454)
* chore: go get -u ./... * chore: go mod tidy * chore: go mod vendor * chore: fix compilation for buildkit >= 0.15.0 * chore: upgrade to Go 1.24 * chore: upgrade the Debian container used in an integration test
This commit is contained in:
@@ -70,7 +70,7 @@ func ResolveEnvironmentReplacementList(values, envs []string, isFilepath bool) (
|
||||
// "a\"b" -> "a"b"
|
||||
func ResolveEnvironmentReplacement(value string, envs []string, isFilepath bool) (string, error) {
|
||||
shlex := shell.NewLex(parser.DefaultEscapeToken)
|
||||
fp, _, err := shlex.ProcessWord(value, envs)
|
||||
fp, _, err := shlex.ProcessWord(value, shell.EnvsFromSlice(envs))
|
||||
// Check after replacement if value is a remote URL
|
||||
if !isFilepath || IsSrcRemoteFileURL(fp) {
|
||||
return fp, err
|
||||
|
||||
Reference in New Issue
Block a user