From 7a270512d770040086bc59f2e6520bd5335564fc Mon Sep 17 00:00:00 2001 From: "Fergus MacConnell WLRS:EX" Date: Mon, 9 Dec 2024 14:37:41 -0800 Subject: [PATCH] Update Dockerfile location for all services. --- .github/workflows/pr-open.yml | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pr-open.yml b/.github/workflows/pr-open.yml index 514c440cb..665129bef 100644 --- a/.github/workflows/pr-open.yml +++ b/.github/workflows/pr-open.yml @@ -17,12 +17,23 @@ jobs: matrix: # package: [database, backend, frontend, minio] package: [database, backend, minio] + include: + - package: database + build_context: ./ + build_file: database/Dockerfile + triggers: ('database/') + - package: backend + build_context: ./ + build_file: ./Dockerfile + triggers: ('backend/', 'frontend/') + - package: minio + build_context: ./ + build_file: minio/Dockerfile + triggers: ('minio/') timeout-minutes: 20 steps: - uses: bcgov-nr/action-builder-ghcr@v2.2.0 with: - build_context: ./../ - build_file: ./Dockerfile keep_versions: 50 package: ${{ matrix.package }} tag: ${{ github.event.number }}