chore(nx/ci): fix "Build Docker image" step

This commit is contained in:
Elian Doran 2025-04-29 11:34:12 +03:00
parent 054c0246d5
commit 7e2d63847e
No known key found for this signature in database

View File

@ -109,6 +109,7 @@ jobs:
- test_dev
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Update build info
@ -116,7 +117,7 @@ jobs:
- uses: docker/setup-buildx-action@v3
- uses: docker/build-push-action@v6
with:
context: .
context: apps/server
cache-from: type=gha
cache-to: type=gha,mode=max
test_docker:
@ -133,11 +134,12 @@ jobs:
- name: Checkout the repository
uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Update build info
run: npm run chore:update-build-info
run: pnpm run chore:update-build-info
- name: Set IMAGE_NAME to lowercase
run: echo "IMAGE_NAME=${IMAGE_NAME,,}" >> $GITHUB_ENV
@ -173,5 +175,4 @@ jobs:
# Print the entire log of the container thus far, regardless if the healthcheck failed or succeeded
- name: Print entire log
if: always()
run: |
journalctl -u docker CONTAINER_NAME=trilium_local --no-pager
run: journalctl -u docker CONTAINER_NAME=trilium_local --no-pager