conteaner/README.md

693 B

tea: A command line tool to interact with Gitea servers

Build

  • docker build . -t gitea/tea:0.3.0

...or to build a specific release (see 'https://gitea.com/gitea/tea/releases'):

  • export VERSION="0.2.0"
  • docker build . -t "gitea/tea:${VERSION}" --build-arg VERSION="${VERSION}"

Configuration

  • docker volume create tea
  • alias tea='docker run --rm -v tea:/app gitea/tea:<your_release>'
  • tea login add -n <name_this_login> -u <your_gitea_url> -t <your_gitea_application_token> -i

Usage

  • tea

tea stores its configuration in a file named 'tea.yml', which the above will store on a volume named 'tea' so that it might persist