File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change 5050 with :
5151 name : agent-${{ matrix.goos }}-${{ matrix.goarch }}
5252 path : agent/agent-${{ matrix.goos }}-${{ matrix.goarch }}
53+ retention-days : 1
5354
5455 release :
5556 needs : build
Original file line number Diff line number Diff line change @@ -9,6 +9,8 @@ WORKDIR /app
99COPY --from=deps /app/node_modules ./node_modules
1010COPY . .
1111ENV DATABASE_URL=postgres://build:build@localhost:5432/build
12+ ENV BETTER_AUTH_SECRET=build-secret
13+ ENV BETTER_AUTH_URL=http://localhost:3000
1214RUN npx next build
1315
1416FROM node:24-slim AS runner
@@ -20,7 +22,6 @@ COPY --from=builder /app/.next/static ./.next/static
2022COPY --from=builder /app/public ./public
2123COPY --from=builder /app/db ./db
2224COPY --from=builder /app/drizzle.config.ts ./drizzle.config.ts
23- COPY --from=builder /app/package.json ./package.json
2425RUN npm install drizzle-kit drizzle-orm
2526EXPOSE 3000
2627CMD ["sh" , "-c" , "echo y | npx drizzle-kit push && node server.js" ]
You can’t perform that action at this time.
0 commit comments