Compare commits

...

3 Commits

Author SHA1 Message Date
julian a03979de44 Trigger Komodo Stack redeploy on successful build
Build and Push tcp-ingestion / build (push) Successful in 55s
2026-05-03 16:44:48 +00:00
julian 6acad6f3d7 Trigger workflow on dev branch; tag image :dev
Build and Push tcp-ingestion / build (push) Successful in 55s
2026-05-03 15:49:11 +00:00
julian ec2cf5f3b9 Switch CI to new Gitea registry; drop Portainer trigger 2026-05-03 15:44:58 +00:00
2 changed files with 16 additions and 6 deletions
+15 -5
View File
@@ -2,7 +2,7 @@ name: Build and Push tcp-ingestion
on:
push:
branches: [main]
branches: [dev]
paths:
- 'src/**'
- 'test/**'
@@ -52,7 +52,7 @@ jobs:
- name: Login to Gitea Registry
uses: docker/login-action@v3
with:
registry: git.dev.microservices.al
registry: git.dev.trmtracking.org
username: ${{ secrets.REGISTRY_USERNAME }}
password: ${{ secrets.REGISTRY_PASSWORD }}
@@ -61,8 +61,18 @@ jobs:
with:
context: .
push: true
tags: git.dev.microservices.al/trm/tcp-ingestion:main
tags: git.dev.trmtracking.org/trm/tcp-ingestion:dev
- name: Trigger Portainer Deploy
- name: Trigger Komodo Stack redeploy
if: success()
run: curl -X POST "${{ secrets.PORTAINER_WEBHOOK_URL }}"
env:
URL: ${{ secrets.KOMODO_STACK_WEBHOOK_URL }}
SECRET: ${{ secrets.KOMODO_WEBHOOK_SECRET }}
run: |
body='{"ref":"refs/heads/dev"}'
sig=$(printf '%s' "$body" | openssl dgst -sha256 -hmac "$SECRET" | awk '{print $2}')
curl -fsS -X POST \
-H 'Content-Type: application/json' \
-H "X-Hub-Signature-256: sha256=$sig" \
-d "$body" \
"$URL"
+1 -1
View File
@@ -6,7 +6,7 @@
# Redis.
#
# For STAGE and PRODUCTION deployment, use the multi-service compose in
# the sibling `deploy/` repo (https://git.dev.microservices.al/trm/deploy),
# the sibling `deploy/` repo (https://git.dev.trmtracking.org/trm/deploy),
# which references this service by its registry image tag instead of
# building locally.
#