forked from innovacion/Mayacontigo
add healthcheck to remaining apps
This commit is contained in:
43
.github/workflows/release.yml
vendored
43
.github/workflows/release.yml
vendored
@@ -20,13 +20,12 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
outputs:
|
||||
bursatil: ${{ steps.filter.outputs.bursatil }}
|
||||
ChatEgresos: ${{ steps.filter.outputs.ChatEgresos }}
|
||||
egresos: ${{ steps.filter.outputs.egresos }}
|
||||
inversionistas: ${{ steps.filter.outputs.inversionistas }}
|
||||
normativa: ${{ steps.filter.outputs.normativa }}
|
||||
ocp: ${{ steps.filter.outputs.ocp }}
|
||||
pyme: ${{ steps.filter.outputs.pyme }}
|
||||
riesgos: ${{ steps.filter.outputs.riesgos }}
|
||||
Test: ${{ steps.filter.outputs.Test }}
|
||||
voz-del-cliente: ${{ steps.filter.outputs.voz-del-cliente }}
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
@@ -39,8 +38,8 @@ jobs:
|
||||
filters: |
|
||||
bursatil:
|
||||
- 'apps/bursatil/**'
|
||||
ChatEgresos:
|
||||
- 'apps/ChatEgresos/**'
|
||||
egresos:
|
||||
- 'apps/egresos/**'
|
||||
inversionistas:
|
||||
- 'apps/inversionistas/**'
|
||||
normativa:
|
||||
@@ -51,8 +50,6 @@ jobs:
|
||||
- 'apps/pyme/**'
|
||||
riesgos:
|
||||
- 'apps/riesgos/**'
|
||||
Test:
|
||||
- 'apps/Test/**'
|
||||
voz-del-cliente:
|
||||
- 'apps/voz-del-cliente/**'
|
||||
|
||||
@@ -80,9 +77,9 @@ jobs:
|
||||
build-args: |
|
||||
PACKAGE=bursatil
|
||||
|
||||
build-ChatEgresos:
|
||||
build-egresos:
|
||||
needs: detect-changes
|
||||
if: needs.detect-changes.outputs.ChatEgresos == 'true'
|
||||
if: needs.detect-changes.outputs.egresos == 'true'
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
@@ -99,10 +96,10 @@ jobs:
|
||||
file: .containers/python/Dockerfile
|
||||
push: true
|
||||
tags: |
|
||||
${{ env.REGISTRY }}/${{ env.REGISTRY_PATH }}-ChatEgresos:latest
|
||||
${{ env.REGISTRY }}/${{ env.REGISTRY_PATH }}-ChatEgresos:${{ github.sha }}
|
||||
${{ env.REGISTRY }}/${{ env.REGISTRY_PATH }}-egresos:latest
|
||||
${{ env.REGISTRY }}/${{ env.REGISTRY_PATH }}-egresos:${{ github.sha }}
|
||||
build-args: |
|
||||
PACKAGE=ChatEgresos
|
||||
PACKAGE=egresos
|
||||
|
||||
build-inversionistas:
|
||||
needs: detect-changes
|
||||
@@ -224,30 +221,6 @@ jobs:
|
||||
build-args: |
|
||||
PACKAGE=riesgos
|
||||
|
||||
build-Test:
|
||||
needs: detect-changes
|
||||
if: needs.detect-changes.outputs.Test == 'true'
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Log in to Gitea Registry
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
registry: ${{ env.REGISTRY }}
|
||||
username: ${{ secrets.REGISTRY_USERNAME }}
|
||||
password: ${{ secrets.REGISTRY_PASSWORD }}
|
||||
- name: Build and push
|
||||
uses: docker/build-push-action@v5
|
||||
with:
|
||||
context: .
|
||||
file: .containers/python/Dockerfile
|
||||
push: true
|
||||
tags: |
|
||||
${{ env.REGISTRY }}/${{ env.REGISTRY_PATH }}-Test:latest
|
||||
${{ env.REGISTRY }}/${{ env.REGISTRY_PATH }}-Test:${{ github.sha }}
|
||||
build-args: |
|
||||
PACKAGE=Test
|
||||
|
||||
build-voz-del-cliente:
|
||||
needs: detect-changes
|
||||
if: needs.detect-changes.outputs.voz-del-cliente == 'true'
|
||||
|
||||
Reference in New Issue
Block a user