Skip to content

Commit cf7a3c2

Browse files
committed
commit and push
1 parent a490b81 commit cf7a3c2

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/build.yaml

+8
Original file line numberDiff line numberDiff line change
@@ -115,3 +115,11 @@ jobs:
115115
cd $GITHUB_WORKSPACE/gitops/overlays/prod
116116
kustomize edit set image adhp/ids-frontend=docker.io/adhp/ids-frontend:${{ matrix.facility }}-$TAG
117117
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

Comments
 (0)