Skip to content

Build your personal knowledge base with Trilium Notes

fix(ci): main docker build failing due to path to Dockerfile

Elian Doran9a825a76b5b5
diff --git a/.github/workflows/main-docker.yml b/.github/workflows/main-docker.yml
index 84bea09e20..f5e7f6a9a7 100644
--- a/.github/workflows/main-docker.yml
+++ b/.github/workflows/main-docker.yml
@@ -62,7 +62,7 @@ jobs:
uses: docker/build-push-action@v6
with:
context: apps/server
- file: ${{ matrix.dockerfile }}
+ file: apps/server/${{ matrix.dockerfile }}
load: true
tags: ${{ env.TEST_TAG }}
cache-from: type=gha
@@ -184,7 +184,7 @@ jobs:
uses: docker/build-push-action@v6
with:
context: apps/server
- file: ${{ matrix.dockerfile }}
+ file: apps/server/${{ matrix.dockerfile }}
platforms: ${{ matrix.platform }}
labels: ${{ steps.meta.outputs.labels }}
outputs: type=image,name=${{ env.GHCR_REGISTRY }}/${{ env.IMAGE_NAME }},push-by-digest=true,name-canonical=true,push=true