Skip to content

Commit 67f4aa7

Browse files
author
Hemant Singh
committed
add missing manifests
1 parent 16986c3 commit 67f4aa7

File tree

1 file changed

+12
-10
lines changed

1 file changed

+12
-10
lines changed

.github/workflows/docker-build-push.yml

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)