From ef57bf264e50125d78c75b3e82461568dcd2cd86 Mon Sep 17 00:00:00 2001 From: Harris Tzovanakis Date: Fri, 26 Jul 2024 09:25:51 +0200 Subject: [PATCH] gh-actions: fix Dockerfile path --- .github/workflows/push-main-workflows.yml | 1 + .github/workflows/push-main.yml | 0 .github/workflows/test-backoffice.yml | 2 +- .github/workflows/test-workflows.yml | 2 +- 4 files changed, 3 insertions(+), 2 deletions(-) create mode 100644 .github/workflows/push-main.yml diff --git a/.github/workflows/push-main-workflows.yml b/.github/workflows/push-main-workflows.yml index 0accb9ee3..6e25348fa 100644 --- a/.github/workflows/push-main-workflows.yml +++ b/.github/workflows/push-main-workflows.yml @@ -14,6 +14,7 @@ jobs: with: ref: ${{ github.ref }} test: + needs: lint uses: ./.github/workflows/test-workflows.yml with: ref: ${{ github.ref }} diff --git a/.github/workflows/push-main.yml b/.github/workflows/push-main.yml new file mode 100644 index 000000000..e69de29bb diff --git a/.github/workflows/test-backoffice.yml b/.github/workflows/test-backoffice.yml index f9582f33a..2a113d2a3 100644 --- a/.github/workflows/test-backoffice.yml +++ b/.github/workflows/test-backoffice.yml @@ -19,7 +19,7 @@ jobs: ref: ${{ inputs.ref }} image: cern-sis/inspire/backoffice context: ./backoffice - dockerfile: Dockerfile + dockerfile: ./backoffice/Dockerfile secrets: inherit test: diff --git a/.github/workflows/test-workflows.yml b/.github/workflows/test-workflows.yml index fc7a8f76d..f92114ff3 100644 --- a/.github/workflows/test-workflows.yml +++ b/.github/workflows/test-workflows.yml @@ -23,7 +23,7 @@ jobs: ref: ${{ inputs.ref }} image: cern-sis/inspire/workflows context: ./workflows - dockerfile: Dockerfile + dockerfile: ./workflows/Dockerfile secrets: inherit test: needs: build