chore(ci): adapt more docker steps

This commit is contained in:
Elian Doran 2025-04-29 22:20:17 +03:00
parent 2920838ab1
commit fada21027e
No known key found for this signature in database
2 changed files with 5 additions and 3 deletions

View File

@ -142,6 +142,8 @@ jobs:
- name: Update build info
run: pnpm run chore:update-build-info
- name: Trigger build
run: pnpm nx run @triliumnext/server:build
- name: Set IMAGE_NAME to lowercase
run: echo "IMAGE_NAME=${IMAGE_NAME,,}" >> $GITHUB_ENV
@ -154,7 +156,7 @@ jobs:
- name: Build and export to Docker
uses: docker/build-push-action@v6
with:
context: .
context: apps/server
file: ${{ matrix.dockerfile }}
load: true
tags: ${{ env.TEST_TAG }}

View File

@ -56,12 +56,12 @@ jobs:
run: npx playwright install --with-deps
- name: Run the TypeScript build
run: npm run build
run: npm nx run @triliumnext/server:build
- name: Build and export to Docker
uses: docker/build-push-action@v6
with:
context: .
context: apps/server
file: ${{ matrix.dockerfile }}
load: true
tags: ${{ env.TEST_TAG }}