[harbor] Starting build for https://git.adams-ai.com/john/dugout.git@main
[harbor] Cloned main
[harbor] Running docker build
#0 building with "default" instance using docker driver
#2 [internal] load metadata for docker.io/library/node:20-alpine
#1 [internal] load build definition from Dockerfile
#1 transferring dockerfile: 1.45kB done
#1 DONE 0.0s
#2 DONE 0.2s
#3 DONE 0.0s
#3 transferring context: 232B done
#4 [internal] load build context
#3 [internal] load .dockerignore
#4 DONE 0.0s
#5 [builder 1/7] FROM docker.io/library/node:20-alpine@sha256:fb4cd12c85ee03686f6af5362a0b0d56d50c58a04632e6c0fb8363f609372293
#5 resolve docker.io/library/node:20-alpine@sha256:fb4cd12c85ee03686f6af5362a0b0d56d50c58a04632e6c0fb8363f609372293 0.0s done
#6 CACHED
#4 [internal] load build context
#5 DONE 0.0s
#6 [builder 2/7] WORKDIR /app
#4 transferring context: 1.41MB 0.2s done
#4 DONE 0.2s
#7 [runner 3/9] RUN apk add --no-cache curl
#7 ...
#8 [builder 3/7] COPY package*.json ./
#8 DONE 0.1s
#9 [builder 4/7] RUN npm ci --include=dev
#9 ...
#7 1.559 (4/9) Installing libidn2 (2.3.8-r0)
#7 1.536 (3/9) Installing libunistring (1.4.1-r0)
#7 1.588 (8/9) Installing libcurl (8.19.0-r0)
#7 1.565 (5/9) Installing nghttp2-libs (1.69.0-r0)
#7 1.527 (2/9) Installing c-ares (1.34.6-r0)
#7 1.575 (7/9) Installing zstd-libs (1.5.7-r2)
#7 1.499 (1/9) Installing brotli-libs (1.2.0-r0)
#7 DONE 1.8s
#7 [runner 3/9] RUN apk add --no-cache curl
#7 1.610 Executing busybox-1.37.0-r30.trigger
#7 1.623 OK: 15.9 MiB in 27 packages
#7 1.600 (9/9) Installing curl (8.19.0-r0)
#7 1.570 (6/9) Installing libpsl (0.21.5-r3)
#9 [builder 4/7] RUN npm ci --include=dev
#9 37.47
#9 37.47 added 490 packages, and audited 491 packages in 37s
#9 37.47 163 packages are looking for funding
#9 37.47
#9 37.47 run `npm fund` for details
#9 37.69 7 vulnerabilities (1 low, 3 moderate, 3 high)
#9 37.69
#9 37.69
#9 37.69 npm audit fix --force
#9 37.69 To address issues that do not require attention, run:
#9 37.69
#9 37.69
#9 37.69 Run `npm audit` for details.
#9 37.69 npm audit fix
#9 37.69 To address all issues, run:
#9 37.70 npm notice New major version of npm available! 10.8.2 -> 11.17.0
#9 37.70 npm notice
#9 37.70 npm notice To update run: npm install -g npm@11.17.0
#9 37.70 npm notice Changelog: https://github.com/npm/cli/releases/tag/v11.17.0
#9 37.70 npm notice
#9 DONE 38.8s
#10 [builder 5/7] COPY . .
#10 DONE 0.6s
#11 [builder 6/7] RUN npm run build
#11 0.622 > dugout@0.1.0 build
#11 0.622
#11 0.622 > next build
#11 0.622
#11 2.259 Attention: Next.js now collects completely anonymous telemetry regarding usage.
#11 2.261 This information is used to shape Next.js' roadmap and prioritize features.
#11 2.261 You can learn more, including how to opt-out if you'd not like to participate in this anonymous program, by visiting the following URL:
#11 2.261
#11 2.261 https://nextjs.org/telemetry
#11 2.471 ▲ Next.js 15.5.15
#11 2.472
#11 2.881 Creating an optimized production build ...
#11 57.43 [2m│ }[22m
#11 57.43 [2m│ body {[22m
#11 57.43 [2m│[22m @import url("https://fonts.googleapis.com/css2?family=Bebas+Neue&family=DM+Sans:wght@300;400;500;600&family=DM+Mono:wght@400;500&display=swap");
#11 57.43 Found 1 warning while optimizing generated CSS:
#11 57.43
#11 57.43
#11 57.43 [2m│ }[22m
#11 57.43 [2m│ html,[22m
#11 57.43 [2m┆[22m [33m[2m^--[22m @import rules must precede all rules aside from @charset and @layer statements[39m
#11 57.43 [2m┆[22m
#11 63.53 ✓ Compiled successfully in 53s
#11 63.54 Linting and checking validity of types ...
#11 91.16 Collecting page data ...
#11 92.53 Error: DATABASE_URL is not set
#11 92.53 at <unknown> (.next/server/app/api/admin/run-digests/route.js:58:3962)
#11 92.54 > Build error occurred
#11 92.54
#11 92.55 [Error: Failed to collect page data for /api/admin/run-digests] {
#11 92.55 type: 'Error'
#11 92.55 }
#11 ERROR: process "/bin/sh -c npm run build" did not complete successfully: exit code: 1
> [builder 6/7] RUN npm run build:
------
91.16 Collecting page data ...
92.55 type: 'Error'
92.55 }
63.54 Linting and checking validity of types ...
[0m - SecretsUsedInArgOrEnv: Do not use ARG or ENV instructions for sensitive data (ARG "STRIPE_SECRET_KEY") (line 14)
63.53 ✓ Compiled successfully in 53s
[33m2 warnings found (use docker --debug to expand):
------
--------------------
16 |
Dockerfile:17
- SecretsUsedInArgOrEnv: Do not use ARG or ENV instructions for sensitive data (ENV "STRIPE_SECRET_KEY") (line 15)
17 | >>> RUN npm run build
18 |
15 | ENV STRIPE_SECRET_KEY=$STRIPE_SECRET_KEY
--------------------
ERROR: failed to build: failed to solve: process "/bin/sh -c npm run build" did not complete successfully: exit code: 1
19 | # Bundle worker.ts into a single CJS file using esbuild (Next.js dep)
92.54
92.53 Error: DATABASE_URL is not set
92.54 > Build error occurred
92.53 at <unknown> (.next/server/app/api/admin/run-digests/route.js:58:3962)
92.55 [Error: Failed to collect page data for /api/admin/run-digests] {
[harbor] Build failed: docker build exited non-zero
[harbor] Starting build for https://git.adams-ai.com/john/dugout.git@main
[harbor] Cloned main
[harbor] Running docker build
#1 [internal] load build definition from Dockerfile
#2 DONE 0.1s
#1 transferring dockerfile: 1.45kB done
#1 DONE 0.0s
#0 building with "default" instance using docker driver
#2 [internal] load metadata for docker.io/library/node:20-alpine
#3 [internal] load .dockerignore
#5 CACHED
#6 [runner 3/9] RUN apk add --no-cache curl
#4 resolve docker.io/library/node:20-alpine@sha256:fb4cd12c85ee03686f6af5362a0b0d56d50c58a04632e6c0fb8363f609372293 0.0s done
#3 DONE 0.0s
#7 transferring context: 1.41MB 0.1s done
#5 [builder 2/7] WORKDIR /app
#3 transferring context: 232B done
#4 DONE 0.0s
#4 [builder 1/7] FROM docker.io/library/node:20-alpine@sha256:fb4cd12c85ee03686f6af5362a0b0d56d50c58a04632e6c0fb8363f609372293
#7 [internal] load build context
#6 CACHED
#8 [builder 3/7] COPY package*.json ./
#10 CACHED
#7 DONE 0.1s
#10 [builder 5/7] COPY . .
#9 [builder 4/7] RUN npm ci --include=dev
#9 CACHED
#8 CACHED
#11 [builder 6/7] RUN npm run build
#11 0.573 > dugout@0.1.0 build
#11 0.573
#11 0.573 > next build
#11 0.573
#11 1.915 Attention: Next.js now collects completely anonymous telemetry regarding usage.
#11 1.916 This information is used to shape Next.js' roadmap and prioritize features.
#11 1.917 https://nextjs.org/telemetry
#11 1.917
#11 1.916 You can learn more, including how to opt-out if you'd not like to participate in this anonymous program, by visiting the following URL:
#11 2.112 ▲ Next.js 15.5.15
#11 2.113
#11 2.583 Creating an optimized production build ...
#11 58.05 Found 1 warning while optimizing generated CSS:
#11 58.05
#11 58.05 [2m│ }[22m
#11 58.05 [2m│ }[22m
#11 58.05 [2m│[22m @import url("https://fonts.googleapis.com/css2?family=Bebas+Neue&family=DM+Sans:wght@300;400;500;600&family=DM+Mono:wght@400;500&display=swap");
#11 58.05 [2m┆[22m
#11 58.05 [2m│ html,[22m
#11 58.05 [2m│ body {[22m
#11 58.05 [2m┆[22m [33m[2m^--[22m @import rules must precede all rules aside from @charset and @layer statements[39m
#11 58.05
#11 64.78 ✓ Compiled successfully in 54s
#11 64.82 Linting and checking validity of types ...
#11 96.01 Collecting page data ...
#11 97.56 Error: DATABASE_URL is not set
#11 97.56 at <unknown> (.next/server/app/api/admin/run-digests/route.js:58:3962)
#11 97.57 > Build error occurred
#11 97.57
#11 ERROR: process "/bin/sh -c npm run build" did not complete successfully: exit code: 1
#11 97.59 }
#11 97.59 [Error: Failed to collect page data for /api/admin/run-digests] {
#11 97.59 type: 'Error'
> [builder 6/7] RUN npm run build:
64.82 Linting and checking validity of types ...
------
64.78 ✓ Compiled successfully in 54s
97.59 type: 'Error'
96.01 Collecting page data ...
97.59 }
------
[33m2 warnings found (use docker --debug to expand):
[0m - SecretsUsedInArgOrEnv: Do not use ARG or ENV instructions for sensitive data (ARG "STRIPE_SECRET_KEY") (line 14)
- SecretsUsedInArgOrEnv: Do not use ARG or ENV instructions for sensitive data (ENV "STRIPE_SECRET_KEY") (line 15)
Dockerfile:17
16 |
18 |
19 | # Bundle worker.ts into a single CJS file using esbuild (Next.js dep)
17 | >>> RUN npm run build
--------------------
--------------------
15 | ENV STRIPE_SECRET_KEY=$STRIPE_SECRET_KEY
ERROR: failed to build: failed to solve: process "/bin/sh -c npm run build" did not complete successfully: exit code: 1
97.57 > Build error occurred
97.56 at <unknown> (.next/server/app/api/admin/run-digests/route.js:58:3962)
97.56 Error: DATABASE_URL is not set
97.57
97.59 [Error: Failed to collect page data for /api/admin/run-digests] {
[harbor] Build failed: docker build exited non-zero
[harbor] Starting build for https://git.adams-ai.com/john/dugout.git@main
[harbor] Cloned main
[harbor] Running docker build
#0 building with "default" instance using docker driver
#1 DONE 0.0s
#1 [internal] load build definition from Dockerfile
#2 [internal] load metadata for docker.io/library/node:20-alpine
#2 DONE 0.1s
#1 transferring dockerfile: 1.45kB done
#3 [internal] load .dockerignore
#4 resolve docker.io/library/node:20-alpine@sha256:fb4cd12c85ee03686f6af5362a0b0d56d50c58a04632e6c0fb8363f609372293 0.1s done
#4 DONE 0.1s
#3 transferring context: 232B done
#3 DONE 0.0s
#4 [builder 1/7] FROM docker.io/library/node:20-alpine@sha256:fb4cd12c85ee03686f6af5362a0b0d56d50c58a04632e6c0fb8363f609372293
#5 [internal] load build context
#5 ...
#7 CACHED
#5 [internal] load build context
#6 CACHED
#7 [runner 3/9] RUN apk add --no-cache curl
#6 [builder 2/7] WORKDIR /app
#5 transferring context: 1.41MB 0.1s done
#5 DONE 0.2s
#8 [builder 3/7] COPY package*.json ./
#8 CACHED
#10 [builder 5/7] COPY . .
#10 CACHED
#11 [builder 6/7] RUN npm run build
#9 [builder 4/7] RUN npm ci --include=dev
#9 CACHED
#11 0.718
#11 0.718 > dugout@0.1.0 build
#11 0.718 > next build
#11 0.718
#11 2.247 Attention: Next.js now collects completely anonymous telemetry regarding usage.
#11 2.248 You can learn more, including how to opt-out if you'd not like to participate in this anonymous program, by visiting the following URL:
#11 2.248 This information is used to shape Next.js' roadmap and prioritize features.
#11 2.248 https://nextjs.org/telemetry
#11 2.248
#11 2.538 ▲ Next.js 15.5.15
#11 2.538
#11 2.974 Creating an optimized production build ...
#11 55.58
#11 55.58 Found 1 warning while optimizing generated CSS:
#11 55.58 [2m│ body {[22m
#11 55.58 [2m┆[22m [33m[2m^--[22m @import rules must precede all rules aside from @charset and @layer statements[39m
#11 55.58 [2m│[22m @import url("https://fonts.googleapis.com/css2?family=Bebas+Neue&family=DM+Sans:wght@300;400;500;600&family=DM+Mono:wght@400;500&display=swap");
#11 55.58 [2m┆[22m
#11 55.58 [2m│ }[22m
#11 55.58
#11 55.58 [2m│ }[22m
#11 55.58 [2m│ html,[22m
#11 61.46 ✓ Compiled successfully in 51s
#11 61.47 Linting and checking validity of types ...
#11 87.53 Collecting page data ...
#11 88.93 Error: DATABASE_URL is not set
#11 88.93 at <unknown> (.next/server/app/api/account/notifications/route.js:12:6358)
#11 88.94
#11 88.94 > Build error occurred
#11 88.95 [Error: Failed to collect page data for /api/account/notifications] {
#11 88.95 }
#11 88.95 type: 'Error'
#11 ERROR: process "/bin/sh -c npm run build" did not complete successfully: exit code: 1
------
> [builder 6/7] RUN npm run build:
87.53 Collecting page data ...
61.47 Linting and checking validity of types ...
61.46 ✓ Compiled successfully in 51s
88.93 at <unknown> (.next/server/app/api/account/notifications/route.js:12:6358)
88.93 Error: DATABASE_URL is not set
88.94 > Build error occurred
88.94
88.95 [Error: Failed to collect page data for /api/account/notifications] {
88.95 type: 'Error'
[33m2 warnings found (use docker --debug to expand):
Dockerfile:17
17 | >>> RUN npm run build
[0m - SecretsUsedInArgOrEnv: Do not use ARG or ENV instructions for sensitive data (ARG "STRIPE_SECRET_KEY") (line 14)
15 | ENV STRIPE_SECRET_KEY=$STRIPE_SECRET_KEY
------
--------------------
- SecretsUsedInArgOrEnv: Do not use ARG or ENV instructions for sensitive data (ENV "STRIPE_SECRET_KEY") (line 15)
16 |
18 |
88.95 }
19 | # Bundle worker.ts into a single CJS file using esbuild (Next.js dep)
ERROR: failed to build: failed to solve: process "/bin/sh -c npm run build" did not complete successfully: exit code: 1
--------------------
[harbor] Build failed: docker build exited non-zero