ruby-ex/deployment/manifests/build.yaml

34 lines
672 B
YAML
Raw Normal View History

apiVersion: v1
kind: Template
objects:
- apiVersion: v1
kind: ImageStream
metadata:
2016-12-08 22:32:58 +00:00
name: frontend
labels:
app: frontend
- apiVersion: v1
kind: BuildConfig
metadata:
2016-12-08 22:32:58 +00:00
name: frontend
labels:
app: frontend
spec:
output:
to:
kind: ImageStreamTag
2017-01-04 00:19:16 +00:00
name: frontend:${TARGET_IMAGE_STREAM_TAG}
source:
2017-01-02 23:18:48 +00:00
type: Binary
2017-01-02 23:53:12 +00:00
binary: {}
strategy:
type: Source
sourceStrategy:
from:
kind: ImageStreamTag
name: ruby:2.3
namespace: openshift
2017-01-04 00:19:16 +00:00
- description: The image stream tag to build to.
displayName: Target image stream tag
name: TARGET_IMAGE_STREAM_TAG