1
0
Fork 0
forked from infra/ansible
ansible/roles/openshift-apps/fedora-packages-static/templates/buildconfig.yml.j2
2026-05-28 11:32:32 +10:00

28 lines
589 B
Django/Jinja

---
apiVersion: build.openshift.io/v1
kind: BuildConfig
metadata:
name: fedora-packages-static-build
labels:
environment: "fedora-packages-static"
spec:
output:
to:
kind: ImageStreamTag
name: fedora-packages-static:latest
source:
type: Git
git:
uri: https://forge.fedoraproject.org/apps/fedora-packages-static.git
{% if env == 'staging' %}
ref: "staging"
{% else %}
ref: "production"
{% endif %}
strategy:
type: Docker
dockerStrategy:
dockerfilePath: Dockerfile
triggers:
- type: ConfigChange
- type: ImageChange