Skip to content

cloud-actions/docker-actions-fire-github

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cloud-actions/python-actions-github

test locally

/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

create a repo with action

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

use image

  1. Open https://github.com/settings/tokens
  2. Create token with repo and read.packages scopes:
    USERNAME='asw101'
    TOKEN='...'
    docker login docker.pkg.github.com -u $USERNAME -p $TOKEN
    
  3. Run docker pull command from: https://github.com/cloud-actions/python-actions-github/packages

Resources

About

[beta] Python (fire) + GitHub Actions + Docker + GitHub Packages

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages