Modify bb64/Dockerfile.dropshell-build
Some checks failed
Build-Test-Publish / build (linux/amd64) (push) Failing after 26s
Build-Test-Publish / build (linux/arm64) (push) Failing after 31s
Build-Test-Publish / test-install-from-scratch (linux/amd64) (push) Has been skipped
Build-Test-Publish / test-install-from-scratch (linux/arm64) (push) Has been skipped
Some checks failed
Build-Test-Publish / build (linux/amd64) (push) Failing after 26s
Build-Test-Publish / build (linux/arm64) (push) Failing after 31s
Build-Test-Publish / test-install-from-scratch (linux/amd64) (push) Has been skipped
Build-Test-Publish / test-install-from-scratch (linux/arm64) (push) Has been skipped
This commit is contained in:
parent
bdc794c87b
commit
44d4af498f
@ -52,8 +52,10 @@ RUN --mount=type=cache,target=/ccache \
|
||||
RUN --mount=type=cache,target=/build \
|
||||
mkdir -p /output && \
|
||||
if [ -f "/build/${PROJECT}" ]; then \
|
||||
echo "Found executable at /build/${PROJECT}" && \
|
||||
cp "/build/${PROJECT}" "/output/${PROJECT}"; \
|
||||
else \
|
||||
echo "Executable not found at /build/${PROJECT}, searching..." && \
|
||||
find /build -type f -executable -name "*${PROJECT}*" -exec cp {} /output/${PROJECT} \; || \
|
||||
find /build -type f -executable -exec cp {} /output/${PROJECT} \; || \
|
||||
(echo "Error: Could not find executable for ${PROJECT}" && ls -la /build && exit 1); \
|
||||
|
Loading…
x
Reference in New Issue
Block a user