File tree Expand file tree Collapse file tree 1 file changed +0
-11
lines changed
Expand file tree Collapse file tree 1 file changed +0
-11
lines changed Original file line number Diff line number Diff line change 3131 PYTHON_BASE_IMAGE : " python:3.10.8-slim-bullseye"
3232 DATAVISYN_PYTHON_BASE_IMAGE : " 188237246440.dkr.ecr.eu-central-1.amazonaws.com/datavisyn/base/python:main"
3333 DATAVISYN_NGINX_BASE_IMAGE : " 188237246440.dkr.ecr.eu-central-1.amazonaws.com/datavisyn/base/nginx:main"
34- ARGOCD_DEPLOYED_APP : false
3534
3635permissions :
3736 id-token : write
8483 with :
8584 branch_name : ${{ github.ref_name }}
8685 time_zone : ${{ env.TIME_ZONE }}
87- - name : Check if app deployed by ArgoCD
88- id : argocd-deployed-app
89- run : |
90- result=$(jq '.apps | index("${{ steps.get-parameters.outputs.app }}") != null' ./tmp/github-workflows/.github/argocd-deployed-apps.json)
91- if [ "$result" = "true" ]; then
92- echo "ARGOCD_DEPLOYED_APP=true" >> $GITHUB_ENV
93- else
94- echo "ARGOCD_DEPLOYED_APP=false" >> $GITHUB_ENV
95- fi
9686 build-single :
9787 needs : prepare-build
9888 if : ${{ needs.prepare-build.outputs.create_workspace != 'true' && needs.prepare-build.outputs.components != '[]' && needs.prepare-build.outputs.components != ''}}
@@ -134,7 +124,6 @@ jobs:
134124 ref : ${{ env.WORKFLOW_BRANCH }}
135125 path : ./tmp/github-workflows
136126 - name : retag images
137- if : ${{ env.ARGOCD_DEPLOYED_APP == 'false' }}
138127 uses : ./tmp/github-workflows/.github/actions/retag-image
139128 with :
140129 aws_role : ${{ vars.DV_AWS_ECR_ROLE }}
You can’t perform that action at this time.
0 commit comments