From 05c778d3a80992e794725552032e7cc9931370f6 Mon Sep 17 00:00:00 2001 From: Armaan Bhojwani Date: Tue, 15 Dec 2020 20:00:58 -0500 Subject: [PATCH] update build.yml, add build badge --- .build.yml | 11 ++++++----- README.md | 5 +++++ 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/.build.yml b/.build.yml index bc16a4b..4f3e42c 100644 --- a/.build.yml +++ b/.build.yml @@ -6,10 +6,11 @@ sources: secrets: - cfca6590-dec3-46f3-abf0-3bce5c907e4a tasks: + - prep: | + sudo systemctl start docker - build: | cd tall.bot - docker build -t armaanb/tall.bot:latest - docker login - docker push -artifacts: - - gen-shell/src/gen-shell + sudo docker build -t armaanb/tall.bot:latest . + - push: | + cat ~/docker.txt | docker login --username armaancicd --password-stdin + docker push armaanb/tall.bot diff --git a/README.md b/README.md index d12e66f..357a1de 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,10 @@ # tall.bot +[![builds.sr.ht status](https://builds.sr.ht/~armaan/tall.bot/commits/.build.yml.svg)](https://builds.sr.ht/~armaan/tall.bot/commits/.build.yml?) + A simple discord Wikipedia bot +## Installation +Either run the docker container `armaanb/tall.bot` with the TOKEN environment variable set, or just run the script with the token as the only argument + ## License Copyright Armaan Bhojwani 2020, MIT license -- 2.39.2