Skip to content

Commit cff44c8

Browse files
committed
remove caching for speed test
1 parent 7467e7e commit cff44c8

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

.github/workflows/service-deploy.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,8 @@ jobs:
6060
file: ${{ inputs.dockerfile }}
6161
push: true
6262
tags: ${{ env.IMAGE_PATH }}
63-
cache-from: type=gha,scope=${{ inputs.service_name }}
64-
cache-to: type=gha,mode=max,scope=${{ inputs.service_name }}
63+
#cache-from: type=gha,scope=${{ inputs.service_name }}
64+
#cache-to: type=gha,mode=max,scope=${{ inputs.service_name }}
6565

6666
- name: Deploy to Cloud Run
6767
id: deploy

apps/tan-start-app/Dockerfile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,12 @@ RUN corepack enable
1313
WORKDIR /app
1414

1515
COPY pnpm-lock.yaml pnpm-workspace.yaml ./
16-
RUN --mount=type=cache,target=/root/.pnpm-store pnpm fetch
16+
# RUN --mount=type=cache,target=/root/.pnpm-store pnpm fetch
17+
RUN pnpm fetch
1718

1819
COPY . .
19-
RUN --mount=type=cache,target=/root/.pnpm-store pnpm install --frozen-lockfile --offline && pnpm run build
20+
# RUN --mount=type=cache,target=/root/.pnpm-store pnpm install --frozen-lockfile --offline && pnpm run build
21+
RUN pnpm install --frozen-lockfile --offline && pnpm run build
2022

2123
WORKDIR /app/apps/tan-start-app
2224

0 commit comments

Comments
 (0)