$ oc apply -f - <<EOF
apiVersion: shipwright.io/v1beta1
kind: Build
metadata:
name: buildah-golang-build
spec:
source: (1)
git:
url: https://github.com/shipwright-io/sample-go
contextDir: docker-build
strategy: (2)
name: buildah
kind: ClusterBuildStrategy
paramValues: (3)
- name: dockerfile
value: Dockerfile
output: (4)
image: image-registry.openshift-image-registry.svc:5000/buildah-example/sample-go-app
EOF