/opt/python/3.8/bin/python -m venv env
source env/bin/activate
pip install fire
pip freeze > requirements.txt
cd 5-github-actions/
python main.py
python main.py hello -h
python main.py hello --message="there!"
python main.py goodbye "now!"
# test with local docker
#docker build -t fire .
#docker run --rm -it fire
git init .
git add .
git commit -m "initial commit"
git remote add origin https://github.com/cloud-actions/python-actions-github
git push -u origin master
- Open https://github.com/settings/tokens
- Create token with
repo
andread.packages
scopes:USERNAME='asw101' TOKEN='...' docker login docker.pkg.github.com -u $USERNAME -p $TOKEN
- Run
docker pull
command from: https://github.com/cloud-actions/python-actions-github/packages