Skip to content

detecttechnologies/marge-bot

 
 

Repository files navigation

Marge-bot

Steps to build and push Docker Image to GitHub

Note: Use a minimum of 2 Cores and 1GB RAM on AWS or equivalent

  • Install git
    sudo apt update
    sudo apt install git
  • Setup Docker and nix
    git clone https://github.com/detecttechnologies/marge-bot.git
    cd marge-bot
    . install-docker-and-nix.sh
  • Log out and log in to complete the setup
  • Build docker image
    cd marge-bot
    make dockerize
  • Generate an access token from https://github.com/settings/tokens/new with write:packages context and paste it in TOKEN.txt
  • Authenticate to GitHub Docker Registry with your username
    cat TOKEN.txt | docker login https://docker.pkg.github.com -u <username> --password-stdin
  • Tag and push
    docker tag docker.pkg.github.com/detecttechnologies/marge-bot/docker-marge:<version> docker.pkg.github.com/detecttechnologies/marge-bot/docker-marge:latest
    docker push docker.pkg.github.com/detecttechnologies/marge-bot/docker-marge:<version>
    docker push docker.pkg.github.com/detecttechnologies/marge-bot/docker-marge:latest

Packages

 
 
 

Languages

  • Python 85.9%
  • Nix 13.4%
  • Other 0.7%