diff --git a/scripts/docker2github b/scripts/docker2github new file mode 100644 index 0000000..5b15ff5 --- /dev/null +++ b/scripts/docker2github @@ -0,0 +1,9 @@ +#!/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 \ No newline at end of file