Update 2 files
All checks were successful
Build-Test-Publish / build (linux/arm64) (push) Successful in 43s
Build-Test-Publish / build (linux/amd64) (push) Successful in 26s

This commit is contained in:
j
2026-02-21 22:42:00 +13:00
parent fdde0bc774
commit dc66c950a1
2 changed files with 3 additions and 1 deletions

View File

@@ -38,8 +38,10 @@ RUN --mount=type=cache,target=/ccache \
${CMAKE_TOOLCHAIN_FILE:+-DCMAKE_TOOLCHAIN_FILE=$CMAKE_TOOLCHAIN_FILE}
# Build project (ccache will help here when only some files change)
# Remove stale autogen files to force dehydrate to regenerate from current agent sources
RUN --mount=type=cache,target=/ccache \
--mount=type=cache,target=/build \
rm -f /app/src/autogen/_agent-remote.* /app/src/autogen/_agent-local.* && \
cmake --build /build
# Copy the built executables to a regular directory for the final stage