fix: Removes cache from Dockerfile to prevent failed ci builds.
Some checks failed
CI / release (push) Failing after 3m10s
Some checks failed
CI / release (push) Failing after 3m10s
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user