ci(main): trigger image builds on main branch commits
This commit is contained in:
@@ -1,13 +1,13 @@
|
|||||||
# Build and push on prod branch — triggered automatically when commits land on prod.
|
# Build and push on main branch — triggered automatically when commits land on main.
|
||||||
# Tag is commit short SHA: unique, immutable, maps to exactly one commit.
|
# Tag is commit short SHA: unique, immutable, maps to exactly one commit.
|
||||||
# Image: forgejo.riotpiao.com/rock/api-gateway:<commit-sha>
|
# Image: forgejo.riotpiao.com/rock/api-gateway:<commit-sha>
|
||||||
#
|
#
|
||||||
# No write-back, no git push — ArgoCD Image Updater or manual deployment pulls new builds.
|
# ArgoCD auto-deploys to api namespace as revisions roll in.
|
||||||
name: Build (prod)
|
name: Build and push
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [prod]
|
branches: [main]
|
||||||
|
|
||||||
env:
|
env:
|
||||||
REGISTRY: forgejo.riotpiao.com
|
REGISTRY: forgejo.riotpiao.com
|
||||||
|
|||||||
Reference in New Issue
Block a user