fix(build): copy the actions engine from the path the image ships
The gitdata-act image installs the engine at /usr/local/bin/gitdata-actions-engine (that is also where the runner chart bundles it from), so the stage copy has to read it from there; /out only exists in the builder stages of this repository.
ZhenYi committed
Modified Dockerfile Dockerfile +1 −1 View Dockerfile
@@ -86,7 +86,7 @@
8686# `gitdata-actions-engine` is spawned by the CI service (lib/ci/src/actions.rs:145)
8787# as well as by the runner, so the default APP_CI__ACTIONS_ENGINE_BINARY value
8888# (a bare name resolved via PATH) works in every role.
89COPY --from=actions-engine /out/gitdata-actions-engine /usr/local/bin/gitdata-actions-engine
89COPY --from=actions-engine /usr/local/bin/gitdata-actions-engine /usr/local/bin/gitdata-actions-engine
9090
9191USER gitdata
9292