diff --git a/roles/openshift-apps/forgejo/templates/values.yaml.j2 b/roles/openshift-apps/forgejo/templates/values.yaml.j2 index 7316c0c3b2..9d41ca55ad 100644 --- a/roles/openshift-apps/forgejo/templates/values.yaml.j2 +++ b/roles/openshift-apps/forgejo/templates/values.yaml.j2 @@ -50,9 +50,9 @@ clusterDomain: cluster.local ## @param image.fullOverride Completely overrides the image registry, path/image, tag and digest. **Adjust `image.rootless` accordingly and review [Rootless defaults](#rootless-defaults).** image: registry: quay.io - repository: konflux-fedora/fedora-infra-tenant/forgejo-oci-images-main-stable + repository: "{{ (env == 'production') | ternary(forgejo_prod_quay_image, forgejo_stg_quay_image) }}" # Overrides the image tag whose default is the chart appVersion. - tag: 'latest' + tag: "{{ (env == 'production') | ternary(forgejo_prod_quay_image_tag, forgejo_stg_quay_image_tag) }}" digest: '' pullPolicy: IfNotPresent rootless: true