Workflow in base image repository updates base image tag on consuming app repo and commits. upon commit, workflow in consuming app repo runs app helm chart and new tag of base image gets deployed.
Workflow in base image repository calls workflow in consuming app repo via repository_dispatch.
Workflow in base image repository connects to ocp cluster and updates base image tag through helm upgrade. (Personally preferable). This way it is not dependent on application situation for each environment.
Note: Using option 3, workflow can be defined to deploy to DEV, QA and PROD sequentially.
Solutions:
Note: Using option 3, workflow can be defined to deploy to DEV, QA and PROD sequentially.