mirror of
https://github.com/zadam/trilium.git
synced 2025-12-16 05:09:54 +01:00
build(Docker): move server-package.json preparation into Dockerfile
This commit is contained in:
committed by
Panagiotis Papadopoulos
parent
bb7a4f9bc3
commit
2973d38db0
5
.github/workflows/main-docker.yml
vendored
5
.github/workflows/main-docker.yml
vendored
@@ -57,9 +57,6 @@ jobs:
|
||||
- name: Run the TypeScript build
|
||||
run: npx tsc
|
||||
|
||||
- name: Create server-package.json
|
||||
run: cat package.json | grep -v electron > server-package.json
|
||||
|
||||
- name: Build and export to Docker
|
||||
uses: docker/build-push-action@v6
|
||||
with:
|
||||
@@ -163,8 +160,6 @@ jobs:
|
||||
- run: npm ci
|
||||
- name: Run the TypeScript build
|
||||
run: npx tsc
|
||||
- name: Create server-package.json
|
||||
run: cat package.json | grep -v electron > server-package.json
|
||||
|
||||
- name: Login to GHCR
|
||||
uses: docker/login-action@v3
|
||||
|
||||
Reference in New Issue
Block a user