mirror of
https://github.com/semaphoreui/semaphore.git
synced 2024-11-24 22:06:43 +01:00
ci(docker): disable node_modules cache for runner too
This commit is contained in:
parent
445bbb89e7
commit
aad11428f4
@ -18,8 +18,7 @@ COPY . /go/src/semaphore
|
|||||||
ARG TARGETOS
|
ARG TARGETOS
|
||||||
ARG TARGETARCH
|
ARG TARGETARCH
|
||||||
|
|
||||||
RUN --mount=type=cache,target=/go/src/semaphore/web/node_modules \
|
RUN --mount=type=cache,target=/go/pkg \
|
||||||
--mount=type=cache,target=/go/pkg \
|
|
||||||
--mount=type=cache,target=/root/.cache/go-build \
|
--mount=type=cache,target=/root/.cache/go-build \
|
||||||
task deps && \
|
task deps && \
|
||||||
task build GOOS=${TARGETOS} GOARCH=${TARGETARCH}
|
task build GOOS=${TARGETOS} GOARCH=${TARGETARCH}
|
||||||
|
@ -20,10 +20,7 @@ ARG TARGETARCH
|
|||||||
|
|
||||||
RUN --mount=type=cache,target=/go/pkg \
|
RUN --mount=type=cache,target=/go/pkg \
|
||||||
--mount=type=cache,target=/root/.cache/go-build \
|
--mount=type=cache,target=/root/.cache/go-build \
|
||||||
task deps
|
task deps && \
|
||||||
|
|
||||||
RUN --mount=type=cache,target=/go/pkg \
|
|
||||||
--mount=type=cache,target=/root/.cache/go-build \
|
|
||||||
task build GOOS=${TARGETOS} GOARCH=${TARGETARCH}
|
task build GOOS=${TARGETOS} GOARCH=${TARGETARCH}
|
||||||
|
|
||||||
FROM alpine:3.19
|
FROM alpine:3.19
|
||||||
|
Loading…
Reference in New Issue
Block a user