Compare commits
6 Commits
fix/ci-onl
...
5df914a40f
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5df914a40f | ||
|
|
1f8002629f | ||
|
|
ff2e4586f3 | ||
|
|
019867f1fa | ||
|
|
48d49a068a | ||
| 11f81cfd8e |
@@ -15,7 +15,7 @@ jobs:
|
|||||||
if: "!startsWith(github.event.head_commit.message, 'chore: bump version')"
|
if: "!startsWith(github.event.head_commit.message, 'chore: bump version')"
|
||||||
env:
|
env:
|
||||||
REGISTRY: registry.digitalocean.com/lunarfront
|
REGISTRY: registry.digitalocean.com/lunarfront
|
||||||
GIT_REMOTE: git2.lunarfront.tech
|
GIT_REMOTE: git.lunarfront.tech
|
||||||
DOCKER_HOST: tcp://localhost:2375
|
DOCKER_HOST: tcp://localhost:2375
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
@@ -104,7 +104,7 @@ jobs:
|
|||||||
git config user.name "lunarfront-bot"
|
git config user.name "lunarfront-bot"
|
||||||
git config user.email "bot@lunarfront.tech"
|
git config user.email "bot@lunarfront.tech"
|
||||||
git remote set-url origin https://lunarfront-bot:${{ secrets.BOT_TOKEN }}@$GIT_REMOTE/ryan/lunarfront-app.git
|
git remote set-url origin https://lunarfront-bot:${{ secrets.BOT_TOKEN }}@$GIT_REMOTE/ryan/lunarfront-app.git
|
||||||
git add packages/backend/package.json
|
git add packages/backend/package.json chart/Chart.yaml chart/values.yaml
|
||||||
git commit -m "chore: bump version to v${{ steps.version.outputs.version }}"
|
git commit -m "chore: bump version to v${{ steps.version.outputs.version }}"
|
||||||
git pull --rebase origin main
|
git pull --rebase origin main
|
||||||
git push origin main
|
git push origin main
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ RUN bun build src/main.ts --compile --outfile /app/server \
|
|||||||
--define "process.env.APP_VERSION='${APP_VERSION}'"
|
--define "process.env.APP_VERSION='${APP_VERSION}'"
|
||||||
|
|
||||||
FROM alpine:3.21
|
FROM alpine:3.21
|
||||||
RUN addgroup -S app && adduser -S app -G app
|
RUN apk add --no-cache libstdc++ && addgroup -S app && adduser -S app -G app
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY --from=build /app/server ./server
|
COPY --from=build /app/server ./server
|
||||||
COPY --from=build /app/packages/backend/src/db/migrations ./migrations
|
COPY --from=build /app/packages/backend/src/db/migrations ./migrations
|
||||||
|
|||||||
@@ -2,5 +2,5 @@ apiVersion: v2
|
|||||||
name: lunarfront
|
name: lunarfront
|
||||||
description: LunarFront small business management platform
|
description: LunarFront small business management platform
|
||||||
type: application
|
type: application
|
||||||
version: 0.1.0
|
version: 0.0.28
|
||||||
appVersion: "0.0.0"
|
appVersion: "0.0.28"
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
backend:
|
backend:
|
||||||
image:
|
image:
|
||||||
repository: registry.digitalocean.com/lunarfront/lunarfront-app
|
repository: registry.digitalocean.com/lunarfront/lunarfront-app
|
||||||
tag: latest
|
tag: 0.0.27
|
||||||
pullPolicy: Always
|
pullPolicy: Always
|
||||||
port: 8000
|
port: 8000
|
||||||
resources:
|
resources:
|
||||||
@@ -15,7 +15,7 @@ backend:
|
|||||||
frontend:
|
frontend:
|
||||||
image:
|
image:
|
||||||
repository: registry.digitalocean.com/lunarfront/lunarfront-frontend
|
repository: registry.digitalocean.com/lunarfront/lunarfront-frontend
|
||||||
tag: latest
|
tag: 0.0.27
|
||||||
pullPolicy: Always
|
pullPolicy: Always
|
||||||
port: 80
|
port: 80
|
||||||
resources:
|
resources:
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@lunarfront/backend",
|
"name": "@lunarfront/backend",
|
||||||
"version": "0.0.26",
|
"version": "0.0.28",
|
||||||
"private": true,
|
"private": true,
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|||||||
Reference in New Issue
Block a user