HUB
Sign inSign up

maniator/gh

By maniator

•Updated about 22 hours ago

Dockerized github cli

Image
2

500K+

maniator/gh repository overview

⁠Dockerized github cli

Simple container running in alpine Linux to run the github cli seamlessly for use anywhere

Very useful in projects using docker in their CI processes

DockerHub Badge

⁠Github Repo

https://github.com/serveside/gh⁠

⁠Docker image tags

https://hub.docker.com/r/maniator/gh/tags/⁠

⁠Usage
docker run -it --rm -v ${HOME}:/root -v $(pwd):/gh -e GITHUB_TOKEN=<token> maniator/gh <command>
⁠Optional alias:
alias gh="docker run -ti --rm -v ${HOME}:/root -v $(pwd):/gh maniator/gh"

for example, if you need clone this repository, with the alias you just set, you can run it as local command

gh repo clone serveside/gh
Tag summary
Recent tags
Content type
Image
Digest
sha256:0f0289987…
Size
27.8 MB
Last updated
about 22 hours ago
docker pull maniator/gh:latest