Created
December 1, 2017 18:13
-
-
Save Philmod/bf424bd83a685fc2aee14782fbfc2f99 to your computer and use it in GitHub Desktop.
Simple GCB example for node.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
steps: | |
- name: 'gcr.io/cloud-builders/npm' | |
args: ['install'] | |
- name: 'gcr.io/cloud-builders/npm' | |
args: ['test'] | |
- name: 'gcr.io/cloud-builders/docker' | |
args: ["build", "-t", "gcr.io/$PROJECT_ID/my-image", "."] | |
images: ["gcr.io/$PROJECT_ID/my-image"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment