mirror of https://github.com/tgerczei/conteaner
20 lines
693 B
Markdown
20 lines
693 B
Markdown
## 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="<b>0.2.0</b>"
|
|
- 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:<b><your_release></b>'
|
|
- tea login add -n <b><name_this_login></b> -u <b><your_gitea_url></b> -t <b><your_gitea_application_token></b> -i
|
|
|
|
### Usage
|
|
- tea
|
|
|
|
#### <i>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</i>
|