Skip to content

Commit

Permalink
Merge branch 'master' of github.com:MoonSHRD/IKY-telegram-bot
Browse files Browse the repository at this point in the history
pull merge
  • Loading branch information
JackBekket committed Nov 19, 2022
2 parents 4b2609e + 632b4c3 commit 66e21e1
Show file tree
Hide file tree
Showing 5 changed files with 748 additions and 6 deletions.
1 change: 0 additions & 1 deletion .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
*.so
*.dylib
*.secret
*.env

# Test binary, built with `go test -c`
*.test
Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: Build and push

on:
workflow_dispatch:
push:
branches:
- 'master'
Expand All @@ -12,6 +13,7 @@ env:
jobs:
docker:
runs-on: ubuntu-latest
environment: production
steps:
-
name: Checkout
Expand All @@ -32,6 +34,10 @@ jobs:
uses: docker/metadata-action@v4
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
-
name: Put .env in sources
run: |
printf "%s" "${{ secrets.ENV_FILE }}" > .env
-
name: Build and push
uses: docker/build-push-action@v3
Expand All @@ -42,4 +48,4 @@ jobs:
push: true
platforms: linux/amd64
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
labels: ${{ steps.meta.outputs.labels }}
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ FROM alpine:latest
WORKDIR /app

RUN apk add ca-certificates
COPY *.env ./
COPY --from=build_base /out/bot ./bot

EXPOSE 8080
CMD ["/app/bot"]
CMD ["/app/bot"]
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
# IKY-telegram-bot
Verifier bot for IKY (https://github.com/MoonSHRD/IKY)
Currently can be found in tg as @E_Passport_bot
Currently can be found in tg as
https://t.me/E_Passport_bot

This bot is comfortable telegram bot, which allow users to tether their personal wallets to their tg_id, using metamask

This bot is comfortable telegram bot, which allow users to tether their personal wallets to their tg_id, using metamask
This bot is also protect from injections, so users can't attach wallet address to tgid they don't own.


Expand Down
Loading

0 comments on commit 66e21e1

Please sign in to comment.