blob: 4e9c1a7d9f1f785270d71a25c1949b1449795e74 [file] [log] [blame]
apiVersion: build.knative.dev/v1alpha1
kind: Build
metadata:
name: nodejs-10-helloworld
spec:
serviceAccountName: openwhisk-runtime-builder
source:
git:
url: "https://github.com/mrutkows/openwhisk-knative-build.git"
revision: "master"
template:
name: openwhisk-nodejs-runtime
arguments:
- name: TARGET_IMAGE_NAME
value: "docker.io/${DOCKER_USERNAME}/nodejs-10-helloworld"
- name: DOCKERFILE
value: "./runtimes/javascript/Dockerfile"
- name: OW_RUNTIME_DEBUG
value: "true"
- name: OW_ACTION_NAME
value: "nodejs-helloworld"
- name: OW_ACTION_CODE
value: "function main() {return {payload: 'Hello World!'};}"