mirror of https://github.com/google/oss-fuzz.git
[infra] Escape $ in gcb builds.
This commit is contained in:
parent
1862be71c9
commit
361ceaece1
|
@ -111,7 +111,9 @@ def workdir_from_dockerfile(dockerfile):
|
|||
for line in lines:
|
||||
match = re.match(WORKDIR_REGEX, line)
|
||||
if match:
|
||||
return match.group(1)
|
||||
# We need to escape '$' since they're used for subsitutions in Container
|
||||
# Builer builds.
|
||||
return match.group(1).replace('$', '$$')
|
||||
|
||||
return None
|
||||
|
||||
|
|
Loading…
Reference in New Issue