diff --git a/cloudbuild.yaml b/cloudbuild.yaml index 756dea7..efef7e4 100644 --- a/cloudbuild.yaml +++ b/cloudbuild.yaml @@ -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: '/bin/bash' - args: [ '-c', '"cd /app && npm test"' ] + entrypoint: '/app/node_modules/.bin/mocha' + args: [ '/app/test/test.js' ] - name: 'gcr.io/cloud-builders/docker' args: [ 'push', 'gcr.io/znetstar-net/tor-router' ] images: ['gcr.io/znetstar-net/tor-router'] \ No newline at end of file