Files
Osselbot/build.sh
T

11 lines
423 B
Bash
Raw Normal View History

2020-05-15 03:19:36 -05:00
#!/usr/bin/env bash
2020-05-15 12:33:20 -05:00
#logs in as Alex
cat ~/.GHTOKEN | docker login https://docker.pkg.github.com -u technicolor-creamsicle --password-stdin
2020-05-15 03:19:36 -05:00
#Builds the package
docker build --tag osselbot .
#pushes to github
2020-05-15 12:33:20 -05:00
docker tag osselbot:latest docker.pkg.github.com/techniclor-creamsicle/osselbot/osselbot:$1
docker push docker.pkg.github.com/techniclor-creamsicle/osselbot/osselbot:$1
2020-05-15 03:19:36 -05:00
2020-05-15 12:33:20 -05:00
echo build may have passed using version: $1