From 7e2d63847e5f90cd57473b60f73eeb215ee8b4f7 Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Tue, 29 Apr 2025 11:34:12 +0300 Subject: [PATCH] chore(nx/ci): fix "Build Docker image" step --- .github/workflows/dev.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/dev.yml b/.github/workflows/dev.yml index 7795b6e4b..42d520bd0 100644 --- a/.github/workflows/dev.yml +++ b/.github/workflows/dev.yml @@ -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