SMQ-2905 - Add repo dispatch to trigger stage deployment (#2906)

Signed-off-by: JeffMboya <jangina.mboya@gmail.com>
This commit is contained in:
JeffMboya
2025-06-20 17:11:09 +03:00
committed by GitHub
parent 707ca54ef9
commit 8d04e7adbe
+11 -1
View File
@@ -12,6 +12,8 @@ jobs:
build-and-push:
name: Build and Push
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- name: Checkout code
@@ -57,6 +59,14 @@ jobs:
run: |
SMQ_ES_TYPE=es_redis make mqtt
- name: Build and push Dockers
- name: Build and push Docker images
run: |
make latest -j $(nproc)
- name: Trigger Helm Chart Deployment
if: success() && github.event_name == 'push' && github.ref == 'refs/heads/main'
uses: peter-evans/repository-dispatch@v3
with:
token: ${{ secrets.REPO_DISPATCH_TOKEN }}
repository: absmach/amdm
event-type: deploy-latest-smq-images