remove unncessary step
This commit is contained in:
parent
2956a7a556
commit
f4980b4b27
@ -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'
|
||||
|
Loading…
x
Reference in New Issue
Block a user