ci: push images to Harbor (repo.meghsakha.com) + cosign #16

Merged
sharang merged 1 commits from ci/harbor-repo-meghsakha into main 2026-07-21 12:14:29 +00:00
+8 -4
View File
@@ -8,6 +8,10 @@ on:
push: push:
branches: [main] branches: [main]
env:
COSIGN_KEY: ${{ secrets.COSIGN_KEY }}
COSIGN_PASSWORD: ${{ secrets.COSIGN_PASSWORD }}
jobs: jobs:
shared: shared:
runs-on: docker runs-on: docker
@@ -110,7 +114,7 @@ jobs:
image: image:
# Builds the portal image and ships it through the same path every # Builds the portal image and ships it through the same path every
# other service in orca-infra uses: push :latest + :sha-<sha> to # other service in orca-infra uses: push :latest + :sha-<sha> to
# registry.meghsakha.com, then POST a github-style payload to the # repo.meghsakha.com, then POST a github-style payload to the
# orca webhook so the master pulls and redeploys breakpilot-portal. # orca webhook so the master pulls and redeploys breakpilot-portal.
# #
# Webhook target (registered once on the master via # Webhook target (registered once on the master via
@@ -124,15 +128,15 @@ jobs:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- uses: docker/login-action@v3 - uses: docker/login-action@v3
with: with:
registry: registry.meghsakha.com registry: repo.meghsakha.com
username: ${{ secrets.REGISTRY_USER }} username: ${{ secrets.REGISTRY_USER }}
password: ${{ secrets.REGISTRY_PASS }} password: ${{ secrets.REGISTRY_PASS }}
- uses: docker/build-push-action@v6 - uses: docker/build-push-action@v6
with: with:
push: true push: true
tags: | tags: |
registry.meghsakha.com/breakpilot/portal:latest repo.meghsakha.com/breakpilot/portal:latest
registry.meghsakha.com/breakpilot/portal:sha-${{ github.sha }} repo.meghsakha.com/breakpilot/portal:sha-${{ github.sha }}
- name: trigger orca redeploy - name: trigger orca redeploy
# Signs the POST with HMAC-SHA256 over the JSON body using the # Signs the POST with HMAC-SHA256 over the JSON body using the
# secret orca generated when the webhook was registered. Orca's # secret orca generated when the webhook was registered. Orca's