gate the argo tep on docker finishing
gate the argo tep on docker finishing gate the argo tep on docker finishing
This commit is contained in:
parent
a734913085
commit
16f96d6b22
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user