| apiVersion: build.knative.dev/v1alpha1 |
| kind: Build |
| metadata: |
| name: nodejs-10-package-npm |
| spec: |
| serviceAccountName: openwhisk-runtime-builder |
| sources: |
| - name: runtime |
| git: |
| url: "https://github.com/apache/incubator-openwhisk-devtools.git" |
| revision: "master" |
| - name: application |
| targetPath: app |
| git: |
| url: "https://github.com/apache/incubator-openwhisk-test.git" |
| revision: "master" |
| template: |
| name: openwhisk-nodejs-runtime |
| arguments: |
| - name: TARGET_IMAGE_NAME |
| value: "docker.io/${DOCKER_USERNAME}/nodejs-10-package-npm" |
| - name: DOCKERFILE |
| value: "./knative-build/runtimes/javascript/Dockerfile" |
| - name: OW_ACTION_BINARY |
| value: "true" |
| - name: OW_ACTION_NAME |
| value: "nodejs-package-npm" |
| - name: OW_PROJECT_URL |
| value: "./app/packages/left-pad/" |