Skip to content

Commit fe054c5

Browse files
committed
attempt 9 to get a copy from build_plugin to work on Github Action
1 parent d979545 commit fe054c5

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

examples/Example.AutoInstrumentation/Dockerfile

+4-4
Original file line numberDiff line numberDiff line change
@@ -60,10 +60,10 @@ COPY --from=otel /app/otel /app/otel
6060
RUN true
6161
COPY --from=build_plugin /app/temp /app/temp
6262
RUN true
63-
RUN ls -al /app/temp
64-
65-
COPY --from=build_plugin "/src/.artifacts/bin/Elastic.OpenTelemetry.AutoInstrumentationPlugin/release_net8.0/Elastic.OpenTelemetry.AutoInstrumentationPlugin.dll" /app/otel/net/
66-
COPY --from=build_plugin "/src/.artifacts/bin/Elastic.OpenTelemetry/release_net8.0/Elastic.OpenTelemetry.dll" /app/otel/net/
63+
RUN ls -al /app/temp/bin
64+
RUN mkdir -p /app/otel/net
65+
RUN cp "/app/temp/bin/Elastic.OpenTelemetry.AutoInstrumentationPlugin/release_net8.0/Elastic.OpenTelemetry.AutoInstrumentationPlugin.dll" /app/otel/net/
66+
RUN cp "/app/temp/bin/Elastic.OpenTelemetry/release_net8.0/Elastic.OpenTelemetry.dll" /app/otel/net/
6767

6868
ENV CORECLR_ENABLE_PROFILING="1"
6969
ENV CORECLR_PROFILER="{918728DD-259F-4A6A-AC2B-B85E1B658318}"

0 commit comments

Comments
 (0)