ci(main): push latest tag on main commits, auto-deploy via kustomization
This commit is contained in:
@@ -11,13 +11,11 @@ resources:
|
||||
- configmap.yaml
|
||||
|
||||
# The deployed image tag lives here and nowhere else. CI publishes
|
||||
# forgejo.riotpiao.com/rock/api-gateway:<commit-sha>; promoting a build is a
|
||||
# one-line commit bumping newTag, which Argo then syncs (G7).
|
||||
#
|
||||
# kustomize edit set image forgejo.riotpiao.com/rock/api-gateway=:<sha>
|
||||
# forgejo.riotpiao.com/rock/api-gateway:<commit-sha> and tags it as :latest on main.
|
||||
# ArgoCD auto-syncs when the latest image is available.
|
||||
images:
|
||||
- name: forgejo.riotpiao.com/rock/api-gateway
|
||||
newTag: v0.1.1
|
||||
newTag: latest
|
||||
|
||||
commonLabels:
|
||||
app: api-gateway
|
||||
|
||||
Reference in New Issue
Block a user