This commit is contained in:
Alex 2020-05-15 12:33:20 -05:00
parent 7d59178b59
commit b38c21b9e0
2 changed files with 6 additions and 4 deletions

View File

@ -1,8 +1,10 @@
#!/usr/bin/env bash
#logs in as Alex
cat ~/.GHTOKEN | docker login https://docker.pkg.github.com -u technicolor-creamsicle --password-stdin
#Builds the package
docker build --tag osselbot .
#pushes to github
docker tag osselbot:latest docker.pkg.github.com/techniclor-creamsicle/osselbot/osselbot:$0
docker push docker.pkg.github.com/techniclor-creamsicle/osselbot/osselbot:$0
docker tag osselbot:latest docker.pkg.github.com/techniclor-creamsicle/osselbot/osselbot:$1
docker push docker.pkg.github.com/techniclor-creamsicle/osselbot/osselbot:$1
echo 'build must have passed using version $0'
echo build may have passed using version: $1

View File

@ -1,4 +1,4 @@
{
"token" : "Njc4MDkzNjY4NzcwNTEyOTE3.XkdyyA.6n4wvPmzOw-fwuysEoTPU8Cv2x0",
"token" : "Njc4MDkzNjY4NzcwNTEyOTE3.Xr7SNw.XS_D_dEJ7hX6N5Rmnfr_OQpfznU",
"prefix" : ";"
}