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
I want to COPY a file in an Earthfile that has a + in it (like COPY lib/7z lib/7z.so lib/libc++.dylib lib/libsystem_c.dylib /), but when I do Earth complains:
Error: build target: build main: bkClient.Build: failed to solve: rpc error: code = Unknown desc = parse: Combining artifacts and build context arguments in a single COPY command is not allowed: [lib/7z lib/7z.so lib/libc++.dylib lib/libsystem_c.dylib]
Is there a way to escape the + or something?
We should support escaping the + in COPY commands (eg \+).
We should test:
COPY a file containing a + from build context
COPY an artifact containing a + from another target
Three tests where each of the SAVE ARTIFACT params contains a +
The text was updated successfully, but these errors were encountered:
Dan Miller (@jazzdan) reports on Slack
We should support escaping the
+
in COPY commands (eg\+
).We should test:
+
from build context+
from another target+
The text was updated successfully, but these errors were encountered: