Skip to content
This repository was archived by the owner on Mar 26, 2025. It is now read-only.

Commit 9af498f

Browse files
tunip3tuxuser
authored andcommitted
Update README.md, add Docker container
1 parent 3f1da57 commit 9af498f

File tree

2 files changed

+22
-1
lines changed

2 files changed

+22
-1
lines changed

.github/workflows/Docker.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: Build and push Docker images
2+
3+
on: [push]
4+
5+
jobs:
6+
push-image:
7+
8+
runs-on: windows-latest
9+
10+
steps:
11+
- uses: actions/checkout@v2
12+
- run: |
13+
docker login --username ${{ secrets.DOCKER_USERNAME }} --password "${{ secrets.DOCKER_PASSWORD }}"
14+
docker build -t storedev/store-bot:${{ github.sha }} -t storedev/store-bot:Latest .
15+
docker push storedev/store-bot

README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# StoreBot [![HitCount](http://hits.dwyl.com/StoreDev/StoreBot.svg)](http://hits.dwyl.com/StoreDev/StoreBot)
1+
# StoreBot [![HitCount](http://hits.dwyl.com/StoreDev/StoreBot.svg)](http://hits.dwyl.com/StoreDev/StoreBot) ![.NET Core](https://github.com/StoreDev/StoreBot/workflows/.NET%20Core/badge.svg)
22
StoreBot is a Discord bot that makes use of [StoreLib](https://github.com/StoreDev/StoreLib). Current features include generation of package urls from a given product listing, conversation of the various Store IDs, and querying details about a listing.
33

44
![Advanced Query Command](https://i.imgur.com/sUd7RkM.png)
@@ -34,6 +34,12 @@ Once StoreBot logs into Discord, invite the bot to the server of your choice, th
3434
@StoreBot submittoken MSAOrXBLToken - See [StoreToken](https://github.com/StoreDev/StoreToken) on how to obtain your token. This command can only be used via Direct Message to the bot. Once your token has been submitted, it will be used for future queries (that originate from your user).
3535
```
3636

37+
### Docker instructions:
38+
#### Building the Docker image:
39+
```docker build -t storebot_docker .```
40+
#### Running the Docker image:
41+
```docker run -e storebottoken -it --rm --name storebot storebot_docker```
42+
3743

3844
#### Dependencies
3945
[StoreLib](https://github.com/StoreDev/StoreLib)

0 commit comments

Comments
 (0)