gitea/tea as an OCI image
Não pode escolher mais do que 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.
Tamás Gérczei 8e68cbcfbf
version bump
há 3 semanas
.gitignore version bump há 4 meses
Dockerfile version bump há 3 semanas
LICENSE added license [fixes #2] há 3 semanas
README.md added development build and Go version override há 5 meses

README.md

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 (check here):

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

...alternatively for development version:

  • docker build . -t “gitea/tea:latest” --build-arg VERSION="development”

The version of Go used during the build can also be overridden by appending e.g. ‘--build-arg GOVERSION="1.13.10”’

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

Notes

  • 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
  • a pre-built image is published via the Docker Hub