fix: Added heroku flag for docker auth

This commit is contained in:
NGPixel 2017-08-12 10:37:59 -04:00
parent bf7d2bba7a
commit d6c5264f9e

View File

@ -42,17 +42,30 @@ deploy-docker-master:
ports: "3000" ports: "3000"
working-dir: /var/wiki working-dir: /var/wiki
entrypoint: node server entrypoint: node server
env: "WIKI_JS_HEROKU=1"
repository: requarks/wiki repository: requarks/wiki
registry: https://registry.hub.docker.com registry: https://registry.hub.docker.com
deploy-docker-dev: deploy-docker-dev:
box: node:8-alpine box: node:8-alpine
steps: 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: - internal/docker-push:
username: $DOCKER_HUB_USERNAME username: $DOCKER_HUB_USERNAME
password: $DOCKER_HUB_PASSWORD password: $DOCKER_HUB_PASSWORD
tag: dev tag: dev
ports: "3000" ports: "3000"
working-dir: /var/wiki
entrypoint: node server entrypoint: node server
repository: requarks/wiki repository: requarks/wiki
registry: https://registry.hub.docker.com registry: https://registry.hub.docker.com