modify cloudbuild.yaml

This commit is contained in:
Zachary Boyd 2018-08-12 11:31:33 -04:00
parent eff827600a
commit 1fa52e50e8

View file

@ -1,7 +1,7 @@
steps:
- name: 'gcr.io/cloud-builders/docker'
args: [ 'build', '-t', 'gcr.io/znetstar-net/tor-router', '.' ]
- name: 'gcr.io/cloud-builders/docker'
args: [ 'run', '--rm', '--entrypoint=""', 'gcr.io/znetstar-net/tor-router', 'npm', 'test' ]
- name: 'gcr.io/znetstar-net/tor-router'
args: [ 'npm', 'test' ]
- name: 'gcr.io/cloud-builders/docker'
args: [ 'push', 'gcr.io/znetstar-net/tor-router' ]