|
|
|
|
@ -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
|
|
|
|
|
|