We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a490b81 commit cf7a3c2Copy full SHA for cf7a3c2
.github/workflows/build.yaml
@@ -115,3 +115,11 @@ jobs:
115
cd $GITHUB_WORKSPACE/gitops/overlays/prod
116
kustomize edit set image adhp/ids-frontend=docker.io/adhp/ids-frontend:${{ matrix.facility }}-$TAG
117
kustomize edit set image adhp/ids-backend=docker.io/adhp/ids-backend:${{ matrix.facility }}-$TAG
118
+ - name: Commit and Push
119
+ if: ${{ env.branch == 'main' }}
120
+ run: |
121
+ TAG=${{ env.branch }}-${{ env.sha_short }}
122
+ cd $GITHUB_WORKSPACE/gitops
123
+ git add overlays/prod
124
+ git commit -m "Update prod overlay for ${{ matrix.facility }}-$TAG"
125
+ git push
0 commit comments