mirror of
https://github.com/collinbarrett/FilterLists.git
synced 2026-03-11 09:04:27 +00:00
refactor(web): disable cache (worse perf on any dep change build)
This commit is contained in:
parent
d37b97dd12
commit
7a661915f2
2 changed files with 1 additions and 6 deletions
5
.github/workflows/web.yml
vendored
5
.github/workflows/web.yml
vendored
|
|
@ -34,9 +34,6 @@ jobs:
|
|||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v3
|
||||
|
||||
- name: Log in to the Container registry
|
||||
if: github.event_name == 'push'
|
||||
uses: docker/login-action@v3
|
||||
|
|
@ -53,8 +50,6 @@ jobs:
|
|||
tags: |
|
||||
${{ env.CONTAINER_REGISTRY }}/${{ env.CONTAINER_REPOSITORY }}:${{ env.CONTAINER_IMAGE_TAG_UNIQUE }}
|
||||
${{ env.CONTAINER_REGISTRY }}/${{ env.CONTAINER_REPOSITORY }}:latest
|
||||
cache-from: type=gha
|
||||
cache-to: type=gha,mode=max
|
||||
|
||||
deploy:
|
||||
name: Deploy
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@ COPY . .
|
|||
# https://nextjs.org/telemetry
|
||||
ENV NEXT_TELEMETRY_DISABLED=1
|
||||
|
||||
RUN --mount=type=cache,target=/app/.next/cache \
|
||||
RUN \
|
||||
if [ -f package-lock.json ]; then npm run build; \
|
||||
else echo "package-lock.json not found." && exit 1; \
|
||||
fi
|
||||
|
|
|
|||
Loading…
Reference in a new issue