gate the argo tep on docker finishing
Some checks failed
Build and push / detect-changed-files (push) Successful in 4s
Build and push / Lint-Python (push) Has been skipped
Build and push / Build-and-Push-Docker (push) Failing after 25s
Build and push / sync-argocd-app (push) Has been skipped

This commit is contained in:
Luke Robles 2024-05-03 10:54:37 -07:00
parent 672b7f0a5c
commit 07582ec46b

View File

@ -44,7 +44,7 @@ jobs:
Build-and-Push-Docker: Build-and-Push-Docker:
needs: detect-changed-files 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: steps:
- name: Login to Docker Hub - name: Login to Docker Hub
if: github.event_name != 'pull_request' if: github.event_name != 'pull_request'
@ -68,7 +68,7 @@ jobs:
sync-argocd-app: sync-argocd-app:
needs: [detect-changed-files, Build-and-Push-Docker] 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: steps:
- name: Sync app in ArgoCD - name: Sync app in ArgoCD
uses: clowdhaus/argo-cd-action/@main uses: clowdhaus/argo-cd-action/@main