ci: fix action error with pulling OCCT image

This commit is contained in:
2025-11-13 15:16:50 +01:00
parent 4a1ff99e06
commit 191da020e4
6 changed files with 40 additions and 18 deletions
+6 -3
View File
@@ -1,4 +1,7 @@
FROM occt-builder:latest AS ffi-base
FROM occt-build:latest AS occt-local
FROM ghcr.io/erickahmed/arc-core/occt-build:latest AS occt-ghcr
FROM occt-local AS occt-selected
FROM occt-selected AS ffi-base
ENV DEBIAN_FRONTEND=noninteractive
@@ -26,8 +29,8 @@ RUN apt-get update && apt-get install -y \
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
ENV PATH="/root/.cargo/bin:${PATH}"
COPY --from=occt-builder:latest /usr/local /usr/local
COPY --from=occt-builder:latest /app/build /app/occt-build
COPY --from=occt-selected /usr/local /usr/local
COPY --from=occt-selected /app/build /app/occt-build
COPY --from=ffi-base /app /app
WORKDIR /app