Skip to content

Commit 3297158

Browse files
Merge pull request #435 from PinHouse/develop
변경된 ci.yml / develop => main 병합
2 parents aa114fe + 6aa9be7 commit 3297158

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

.github/workflows/ci.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,5 +34,7 @@ jobs:
3434
build-args: |
3535
NEXT_PUBLIC_API_URL=${{ secrets.NEXT_PUBLIC_API_URL }}
3636
NEXT_PUBLIC_OAUTH2=${{ secrets.NEXT_PUBLIC_OAUTH2 }}
37+
secrets: |
38+
npmrc=${{ secrets.NPM_TOKEN }}
3739
cache-from: type=gha
38-
cache-to: type=gha,mode=max
40+
cache-to: type=gha,mode=max

Docker-pinhouse-file

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# syntax=docker/dockerfile:1.7
2+
13
# =========================
24
# 1️⃣ Base
35
# =========================
@@ -9,7 +11,7 @@ WORKDIR /pinhouse-fe
911
# =========================
1012
FROM base AS deps
1113
COPY package.json package-lock.json ./
12-
RUN npm ci
14+
RUN --mount=type=secret,id=npmrc,target=/root/.npmrc npm ci
1315

1416
# =========================
1517
# 3️⃣ Build

0 commit comments

Comments
 (0)