File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44 push :
55 branches :
66 - main
7- <<<<<<< HEAD
87 paths-ignore :
98 - ' manifests/**'
109
11- permissions :
12- id-token : write
13- contents : write
14- =======
15-
1610permissions :
1711 id-token : write
1812 contents : read # No longer needs to write back to the repo
19- >>>>>>> 91607abd30f5719e711a78f161b10833872fb708
2013
2114jobs :
2215 build-and-push :
6154
6255 - name : Print New Image Tags
6356 run : |
64- <<<<<<< HEAD
6557 sudo wget https://github.com/mikefarah/yq/releases/latest/download/yq_linux_amd64 -O /usr/bin/yq && sudo chmod +x /usr/bin/yq
6658 yq -i '.spec.template.spec.containers[0].image = "${{ steps.build-backend.outputs.image }}"' manifests/02-backend.yaml
6759 yq -i '.spec.template.spec.containers[0].image = "${{ steps.build-frontend.outputs.image }}"' manifests/03-frontend.yaml
8173 git push
8274 fi
8375
84- =======
76+
8577 echo "CI pipeline successful. Images pushed to ECR."
8678 echo "Please update your Kubernetes manifests with these new image tags:"
8779 echo "Backend Image: ${{ steps.build-backend.outputs.image }}"
8880 echo "Frontend Image: ${{ steps.build-frontend.outputs.image }}"
89- >>>>>>> 91607abd30f5719e711a78f161b10833872fb708
81+
You can’t perform that action at this time.
0 commit comments