diff --git a/.gitea/workflows/build-and-push.yaml b/.gitea/workflows/build-and-push.yaml index f062915c..4db3c39d 100755 --- a/.gitea/workflows/build-and-push.yaml +++ b/.gitea/workflows/build-and-push.yaml @@ -19,6 +19,8 @@ jobs: - 'app/**' helm: - 'helm/**' + docker: + - 'Dockerfile' Lint-Python: runs-on: ubuntu-latest needs: changes @@ -26,14 +28,6 @@ jobs: steps: - name: Check out repository code uses: actions/checkout@v4 - - uses: dorny/paths-filter@v3 - id: filter - with: - filters: | - python_files: - - 'app/**/*.py' - docker_file: - - 'Dockerfile' - name: install UV run: | pip install uv --quiet @@ -45,7 +39,7 @@ jobs: if: steps.filter.outputs.python_files == 'true' Build-and-Push-Docker: needs: [changes, Lint-Python] - if: ${{ needs.changes.outputs.python_files == 'true' || needs.changes.outputs.docker_file == 'true' }} + if: ${{ needs.changes.outputs.python_files == 'true' || needs.changes.outputs.docker == 'true' }} steps: - name: Login to Docker Hub if: github.event_name != 'pull_request'