ci: add build workflow for Liquid MPC GAR image

This commit is contained in:
2026-04-08 15:58:46 -07:00
parent 2ea8d115a2
commit c779deb452
+34
View File
@@ -0,0 +1,34 @@
# Per-repo CI: build + push image to GAR
# On success, fires repository_dispatch to /universe
# which updates the manifest and deploys.
name: Build
on:
push:
branches: [main, test, dev]
paths:
- 'cmd/**'
- 'pkg/**'
- 'go.mod'
- 'go.sum'
- 'Dockerfile'
workflow_dispatch:
permissions:
contents: read
packages: write
id-token: write
jobs:
build:
uses: /universe/.github/workflows/build-service.yml@main
with:
service_key: mpc
app_name: mpc
app_type: backend
dockerfile: Dockerfile
secrets:
TOKEN_GITHUB_CICD: ${{ secrets.TOKEN_GITHUB_CICD }}
KMS_CLIENT_ID: ${{ secrets.KMS_CLIENT_ID }}
KMS_CLIENT_SECRET: ${{ secrets.KMS_CLIENT_SECRET }}