#!/bin/bash # use: sh docker2github USERNAME CONTAINER_NAME ## nano ~/.bashrc ## and add this to the end of the file: export PATH=$PATH:~/bin docker build -t $2 . docker tag $2 ghcr.io/$1/$2:latest docker push ghcr.io/$1/$2:latest #### By [Sthope]