From d6c5264f9e4895bdf2a0d3bd703a74625175fdb5 Mon Sep 17 00:00:00 2001 From: NGPixel Date: Sat, 12 Aug 2017 10:37:59 -0400 Subject: [PATCH] fix: Added heroku flag for docker auth --- wercker.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/wercker.yml b/wercker.yml index 0ea094b6..369bc30a 100644 --- a/wercker.yml +++ b/wercker.yml @@ -42,17 +42,30 @@ deploy-docker-master: ports: "3000" working-dir: /var/wiki entrypoint: node server + env: "WIKI_JS_HEROKU=1" repository: requarks/wiki registry: https://registry.hub.docker.com deploy-docker-dev: box: node:8-alpine steps: + - script: + name: install dependencies + code: | + apk update + apk add bash curl git openssh + - script: + name: copy app files + code: | + mkdir -p /var/wiki + cp -LR assets node_modules server config.sample.yml package.json /var/wiki + rm -rf /pipeline - internal/docker-push: username: $DOCKER_HUB_USERNAME password: $DOCKER_HUB_PASSWORD tag: dev ports: "3000" + working-dir: /var/wiki entrypoint: node server repository: requarks/wiki registry: https://registry.hub.docker.com