feat: wercker docker steps
This commit is contained in:
parent
4152673fd5
commit
680fd73023
20
wercker.yml
20
wercker.yml
@ -37,12 +37,28 @@ deploy-github:
|
||||
- github-upload-asset:
|
||||
token: $GITHUB_TOKEN
|
||||
file: node_modules.tar.gz
|
||||
deploy-docker:
|
||||
|
||||
deploy-docker-master:
|
||||
steps:
|
||||
- script:
|
||||
name: remove dev dependencies
|
||||
code: |
|
||||
yarn install --production --ignore-scripts --prefer-offline
|
||||
- internal/docker-push:
|
||||
username: $DOCKER_HUB_USERNAME
|
||||
password: $DOCKER_HUB_PASSWORD
|
||||
tag: latest
|
||||
tag: latest, master
|
||||
ports: "3000"
|
||||
entrypoint: node server
|
||||
repository: requarks/wiki
|
||||
registry: https://registry.hub.docker.com
|
||||
|
||||
deploy-docker-dev:
|
||||
steps:
|
||||
- internal/docker-push:
|
||||
username: $DOCKER_HUB_USERNAME
|
||||
password: $DOCKER_HUB_PASSWORD
|
||||
tag: dev
|
||||
ports: "3000"
|
||||
entrypoint: node server
|
||||
repository: requarks/wiki
|
||||
|
Loading…
Reference in New Issue
Block a user