initial commit
This commit is contained in:
parent
3396a82e37
commit
debd0e047b
9
scripts/docker2github
Normal file
9
scripts/docker2github
Normal file
@ -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
|
Loading…
x
Reference in New Issue
Block a user