Browse Source
Added Docker CI, updated README.md with more information on how to run the Docker container, and added CI (just testing it out)pull/1/head
Abheek Dhawan
4 years ago
3 changed files with 22 additions and 8 deletions
@ -0,0 +1,18 @@ |
|||
name: Docker Image CI |
|||
|
|||
on: |
|||
push: |
|||
branches: [ master ] |
|||
pull_request: |
|||
branches: [ master ] |
|||
|
|||
jobs: |
|||
|
|||
build: |
|||
|
|||
runs-on: ubuntu-latest |
|||
|
|||
steps: |
|||
- uses: actions/checkout@v2 |
|||
- name: Build the Docker image |
|||
run: docker build -t awscibo . --file Dockerfile --tag awscibo:$(date +%s) |
@ -1,3 +1,3 @@ |
|||
FROM node:latest |
|||
RUN npm i -g awscibo |
|||
CMD ["awscibo", "yourbottokenhere"] |
|||
CMD awscibo $BOT_TOKEN |
|||
|
Loading…
Reference in new issue