detecttechnologies / marge-bot

A merge-bot for GitLab

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

A merge-bot for GitLab

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:Python 85.9%Language:Nix 13.4%Language:Makefile 0.6%Language:Shell 0.1%