You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
getImageFromLine() function returns --platform= instead of --platform=linux/amd64
P.S: This is a limitation of os.ExpandEnv functions. Go currently does not support this feature. We may need to use a custom framework to make a workaround to fix this.
Description
Minimal reproduce:
$BUILDPLATFORM
env toarm/v7
.Happy-path test case:
$BUILDPLATFORM
env.Failing test case:
i.e.:
getImageFromLine() function returns
--platform=
instead of--platform=linux/amd64
P.S: This is a limitation of
os.ExpandEnv
functions. Go currently does not support this feature. We may need to use a custom framework to make a workaround to fix this.cc: @developer-guy
The text was updated successfully, but these errors were encountered: