File tree Expand file tree Collapse file tree 1 file changed +12
-10
lines changed
Expand file tree Collapse file tree 1 file changed +12
-10
lines changed Original file line number Diff line number Diff line change @@ -25,18 +25,20 @@ jobs:
2525 - name : Build and Push Frontend Image
2626 run : |
2727 IMAGE_NAME=${{ secrets.DOCKER_USERNAME }}/menn-frontend
28- docker buildx build --platform linux/amd64 \
29- -t $IMAGE_NAME:latest \
30- -t $IMAGE_NAME:${{ github.sha }} \
31- ./frontend \
32- --push
28+ docker buildx build --platform linux/amd64 -t $IMAGE_NAME:latest -t $IMAGE_NAME:${{ github.sha }} ./frontend --push
3329
3430 - name : Build and Push Backend Image
3531 run : |
3632 IMAGE_NAME=${{ secrets.DOCKER_USERNAME }}/menn-backend
37- docker buildx build --platform linux/amd64 \
38- -t $IMAGE_NAME:latest \
39- -t $IMAGE_NAME:${{ github.sha }} \
40- ./backend \
41- --push
33+ docker buildx build --platform linux/amd64 -t $IMAGE_NAME:latest -t $IMAGE_NAME:${{ github.sha }} ./backend --push
34+
35+ - name : Trigger update in menn-k8s repo
36+ uses : peter-evans/repository-dispatch@v3
37+ with :
38+ token : ${{ secrets.K8S_REPO_TOKEN }}
39+ repository : hsb943/menn-k8s
40+ event-type : update-manifests
41+ client-payload : ' {"sha": "${{ github.sha }}"}'
42+
43+
4244
You can’t perform that action at this time.
0 commit comments