настройка фильтра github actions
Some checks failed
Create and publish a Docker image / pre-jobs (push) Has been cancelled
Create and publish a Docker image / build-and-push-server (push) Has been cancelled
Create and publish a Docker image / build-and-push-chart (push) Has been cancelled
Create and publish a Docker image / build-and-push-CR (push) Has been cancelled

This commit is contained in:
Данил 2024-10-09 17:33:43 +03:00
parent c576491e31
commit d2db985609

View file

@ -13,6 +13,25 @@ env:
IMAGE_NAME: ${{ github.repository }} IMAGE_NAME: ${{ github.repository }}
jobs: 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: build-and-push-server:
runs-on: ubuntu-latest runs-on: ubuntu-latest
permissions: permissions: