This commit is contained in:
Brage Skjønborg 2026-01-04 15:12:59 +01:00
parent b0d1ddaad5
commit 8a5415300b
68 changed files with 22 additions and 13 deletions

View File

@ -72,11 +72,16 @@ jobs:
run: |
docker run --rm local-${{ inputs.app }}:${{ inputs.dockerTag }} /bin/sh -c "echo 'Smoke test OK'"
- name: Push Docker image
uses: docker/build-push-action@v5
- name: Docker login
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_HUB_NAME }}
password: ${{ secrets.DOCKER_HUB_TOKEN }}
- name: Push Docker image
uses: docker/build-push-action@v5
with:
context: .
file: ./dockerfiles/DebianJava
build-args: |

View File

@ -61,12 +61,16 @@ jobs:
run: |
docker run --rm local-${{ inputs.app }}:${{ inputs.dockerTag }} /bin/sh -c "echo 'Smoke test OK'"
- name: Docker login
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_HUB_NAME }}
password: ${{ secrets.DOCKER_HUB_TOKEN }}
# Push final image
- name: Push Docker image
uses: docker/build-push-action@v5
with:
username: ${{ secrets.DOCKER_HUB_NAME }}
password: ${{ secrets.DOCKER_HUB_TOKEN }}
context: .
file: ./dockerfiles/Python
build-args: |

View File

@ -16,8 +16,8 @@ jobs:
converter: ${{ steps.filter.outputs.converter }}
coordinator: ${{ steps.filter.outputs.coordinator }}
ui: ${{ steps.filter.outputs.ui }}
pyMetadata: ${{ steps.filter.outputs.metadata }}
pyWatcher: ${{ steps.filter.outputs.watcher }}
py-metadata: ${{ steps.filter.outputs.metadata }}
py-watcher: ${{ steps.filter.outputs.watcher }}
dockerTag: ${{ steps.tag.outputs.tag }}
steps:
@ -39,9 +39,9 @@ jobs:
ui:
- 'apps/ui/**'
metadata:
- 'apps/pyMetadata/**'
- 'apps/py-metadata/**'
watcher:
- 'apps/pyWatcher/**'
- 'apps/py-watcher/**'
- name: Generate docker tag
id: tag
@ -85,9 +85,9 @@ jobs:
strategy:
matrix:
include:
- app: pyMetadata
- app: py-metadata
enabled: true
- app: pyWatcher
- app: py-watcher
enabled: true
uses: ./.github/workflows/build-python-app.yml

4
.gitignore vendored
View File

@ -43,5 +43,5 @@ bin/
.idea/runConfigurations
/apps/pyMetadata/venv/
/apps/pyWatcher/venv/
/apps/py-metadata/venv/
/apps/py-watcher/venv/

View File

@ -22,7 +22,7 @@ Only one instance is supported, while multiple processer's can be run at any tim
- Extracts info from filename
- Extracts info from file media streams
- Produces title and sanitized
- pyMetadata:
- py-metadata:
- Picks up event
- Searches with sources using title and sanitized
- Produces result