docsbuilding: separate builds per environment
Signed-off-by: Patrick Uiterwijk <patrick@puiterwijk.org>
This commit is contained in:
parent
411d3776c7
commit
1c5aef2d01
2 changed files with 4 additions and 0 deletions
|
@ -11,6 +11,7 @@ spec:
|
|||
source:
|
||||
git:
|
||||
uri: "https://pagure.io/fedora-docs/docs-fp-o.git"
|
||||
ref: "{{ env_short }}"
|
||||
contextDir: "build-scripts"
|
||||
output:
|
||||
to:
|
||||
|
|
|
@ -15,6 +15,9 @@ spec:
|
|||
containers:
|
||||
- name: build
|
||||
image: docker-registry.default.svc:5000/docsbuilding/builder:latest
|
||||
env:
|
||||
- name: BUILD_ENV
|
||||
value: "{{ env_short }}"
|
||||
volumeMounts:
|
||||
- name: build-output
|
||||
mountPath: /antora/output
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue