gate the argo tep on docker finishing
All checks were successful
Build and push / detect-changed-files (push) Successful in 6s
Build and push / Lint-Python (push) Has been skipped
Build and push / Build-and-Push-Docker (push) Has been skipped
Build and push / sync-argocd-app (push) Has been skipped

gate the argo tep on docker finishing

gate the argo tep on docker finishing
This commit is contained in:
Luke Robles 2024-05-03 10:54:37 -07:00
parent 672b7f0a5c
commit 60cee3cbbd

View File

@ -44,7 +44,7 @@ jobs:
Build-and-Push-Docker:
needs: detect-changed-files
if: ${{ needs.detect-changed-files.outputs.python_files == 'true' }}
if: ${{ (needs.detect-changed-files.outputs.python_files == 'true') && (steps.Lint-Python.outcome == 'success') }}
steps:
- name: Login to Docker Hub
if: github.event_name != 'pull_request'
@ -68,7 +68,7 @@ jobs:
sync-argocd-app:
needs: [detect-changed-files, Build-and-Push-Docker]
if: ${{ needs.detect-changed-files.outputs.python_files == 'true' }}
if: ${{ (needs.detect-changed-files.outputs.python_files == 'true') && (steps.Build-and-Push-Docker.outcome == 'success') }}
steps:
- name: Sync app in ArgoCD
uses: clowdhaus/argo-cd-action/@main