This repository has been archived by the owner on Dec 2, 2019. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/next'
- Loading branch information
Showing
12 changed files
with
2,571 additions
and
594 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
version: 2 | ||
jobs: | ||
build: | ||
docker: | ||
- image: docker:latest | ||
steps: | ||
- checkout | ||
- setup_remote_docker: | ||
docker_layer_caching: true | ||
- run: | ||
name: Docker building | ||
command: | | ||
if [ "$CIRCLE_BRANCH" = "master" ]; then docker build -t dougley/bezerk:latest .; else docker build -t dougley/bezerk:$CIRCLE_BRANCH .; fi | ||
docker login -u $DOCKER_USER -p $DOCKER_PASS | ||
if [ "$CIRCLE_BRANCH" = "master" ]; then docker push dougley/bezerk:latest; else docker push dougley/bezerk:$CIRCLE_BRANCH; fi | ||
tagged-build: | ||
docker: | ||
- image: docker:latest | ||
steps: | ||
- checkout | ||
- setup_remote_docker: | ||
docker_layer_caching: true | ||
- run: | ||
name: Docker building | ||
command: | | ||
docker build -t dougley/bezerk:$(git describe --abbrev=0 --tags) . | ||
docker login -u $DOCKER_USER -p $DOCKER_PASS | ||
docker push dougley/bezerk:$(git describe --abbrev=0 --tags) | ||
workflows: | ||
version: 2 | ||
test_n_build: | ||
jobs: | ||
- build | ||
- tagged-build: | ||
filters: | ||
branches: | ||
ignore: /.*/ | ||
tags: | ||
only: /v.+/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,3 @@ | ||
{ | ||
"extends": "standard", | ||
"installedESLint": true, | ||
"plugins": [ | ||
"standard", | ||
"promise" | ||
] | ||
"extends": "standard" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
FROM node:9 | ||
MAINTAINER hello@dougley.com | ||
|
||
WORKDIR /app | ||
|
||
CMD ["node", "index.js"] | ||
|
||
COPY package.json /app/ | ||
|
||
# Create working dir | ||
RUN mkdir -p /app | ||
COPY . /app | ||
|
||
RUN npm i |
Oops, something went wrong.