From d2db985609e4b65b422719b73bf8e31b09c8750b Mon Sep 17 00:00:00 2001 From: Redume Date: Wed, 9 Oct 2024 17:33:43 +0300 Subject: [PATCH] =?UTF-8?q?=D0=BD=D0=B0=D1=81=D1=82=D1=80=D0=BE=D0=B9?= =?UTF-8?q?=D0=BA=D0=B0=20=D1=84=D0=B8=D0=BB=D1=8C=D1=82=D1=80=D0=B0=20git?= =?UTF-8?q?hub=20actions?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/docker.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 359e10a..4c3f21b 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -13,6 +13,25 @@ env: IMAGE_NAME: ${{ github.repository }} jobs: + pre-jobs: + runs-on: ubuntu-latest + outputs: + should_run_server: ${{ steps.found_paths.outputs.server == 'true' || steps.should_force.outputs.should_force == 'true' }} + should_run_cl: ${{ steps.found_paths.outputs.CL == 'true' || steps.should_force.outputs.should_force == 'true' }} + steps: + - name: Checkout code + uses: actions/checkout@v4 + - id: found_paths + uses: dorny/paths-filter@v3 + with: + filters: | + server: + - './server' + chart: + - './chart' + CL: + - './collect-currency' + build-and-push-server: runs-on: ubuntu-latest permissions: