We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents aa114fe + 6aa9be7 commit 3297158Copy full SHA for 3297158
2 files changed
.github/workflows/ci.yml
@@ -34,5 +34,7 @@ jobs:
34
build-args: |
35
NEXT_PUBLIC_API_URL=${{ secrets.NEXT_PUBLIC_API_URL }}
36
NEXT_PUBLIC_OAUTH2=${{ secrets.NEXT_PUBLIC_OAUTH2 }}
37
+ secrets: |
38
+ npmrc=${{ secrets.NPM_TOKEN }}
39
cache-from: type=gha
- cache-to: type=gha,mode=max
40
+ cache-to: type=gha,mode=max
Docker-pinhouse-file
@@ -1,3 +1,5 @@
1
+# syntax=docker/dockerfile:1.7
2
+
3
# =========================
4
# 1️⃣ Base
5
@@ -9,7 +11,7 @@ WORKDIR /pinhouse-fe
9
11
10
12
FROM base AS deps
13
COPY package.json package-lock.json ./
-RUN npm ci
14
+RUN --mount=type=secret,id=npmrc,target=/root/.npmrc npm ci
15
16
17
# 3️⃣ Build
0 commit comments