fix: Removes cache from Dockerfile to prevent failed ci builds.
Some checks failed
CI / release (push) Failing after 3m10s

This commit is contained in:
2025-04-03 12:10:02 -04:00
parent 51b43d72de
commit fc3ed35b58

View File

@@ -4,14 +4,14 @@ WORKDIR /build
# First just resolve dependencies.
COPY ./Package.* ./
RUN --mount=type=cache,target=/build/.build swift package resolve \
RUN swift package resolve \
$([ -f ./Package.resolved ] && echo "--force-resolved-versions" || true)
# Copy entire repo into container
COPY . .
# Build the static site.
RUN --mount=type=cache,target=/build/.build swift run
RUN swift run
# ==================================================
# Run Image