diff --git a/roles/openshift-apps/fasjson/templates/Dockerfile b/roles/openshift-apps/fasjson/templates/Dockerfile index 423db387a5..99f1fa25f1 100644 --- a/roles/openshift-apps/fasjson/templates/Dockerfile +++ b/roles/openshift-apps/fasjson/templates/Dockerfile @@ -1,4 +1,4 @@ -FROM fedora:32 +FROM fedora:34 LABEL \ name="fasjson" \ vendor="Fedora Infrastructure" \ diff --git a/roles/openshift-apps/fasjson/templates/buildconfig.yml b/roles/openshift-apps/fasjson/templates/buildconfig.yml index 0d494b00bd..49fbb86104 100644 --- a/roles/openshift-apps/fasjson/templates/buildconfig.yml +++ b/roles/openshift-apps/fasjson/templates/buildconfig.yml @@ -24,11 +24,13 @@ spec: triggers: - type: ConfigChange - type: ImageChange - - type: GitHub {% if fasjson_stg_github_secret is defined and env == 'staging' %} + - type: GitHub github: secret: "{{ fasjson_stg_github_secret }}" {% elif fasjson_github_secret is defined and env == 'production' %} - github: - secret: "{{ fasjson_github_secret }}" + # Do we really want auto rebuilds in prod? + # - type: GitHub + # github: + # secret: "{{ fasjson_github_secret }}" {% endif %}