modify cloudbuild

This commit is contained in:
Zachary Boyd 2018-08-12 11:51:45 -04:00
parent 129136aa69
commit 784ab58e84

View file

@ -2,8 +2,8 @@ steps:
- name: 'gcr.io/cloud-builders/docker'
args: [ 'build', '-t', 'gcr.io/znetstar-net/tor-router', '.' ]
- name: 'gcr.io/znetstar-net/tor-router'
entrypoint: 'npm'
args: [ 'test' ]
entrypoint: '/bin/bash'
args: [ '-c', '"cd /app && npm test"' ]
- name: 'gcr.io/cloud-builders/docker'
args: [ 'push', 'gcr.io/znetstar-net/tor-router' ]
images: ['gcr.io/znetstar-net/tor-router']