Simple image for tea, the cli for gitea, based on Alpine. https://hub.docker.com/r/vivicat/docker-gitea-tea
Go to file
Vivianne 54d37e9580 initial commit 2022-04-15 23:10:58 -07:00
Dockerfile initial commit 2022-04-15 23:10:58 -07:00
README.md initial commit 2022-04-15 23:10:58 -07:00
init.sh initial commit 2022-04-15 23:10:58 -07:00

README.md

Simple image for tea, the cli for gitea, based on Alpine.

view on docker hub

Running

tea is set as the entrypoint executable, so just skip tea in the arguments when running, like so:

docker run --rm vivicat/docker-gitea-tea help

Environment variables

These variables will auto-login to your instance before running commands.

  • GITEA_URL - Set this to the URL of your instance
  • GITEA_TOKEN - Set this to the gitea api token generated from User Settings > Applications > Manage Access Tokens
  • GITEA_USER=ci - Optionally, set the name of the user for the tea session.

Complete example

docker run --rm -e "GITEA_URL=http://example.com" -e "GITEA_TOKEN=deadbeefdeadbeefdeadbeefdeadbeef" vivicat/docker-gitea-tea repos