1
0
mirror of https://github.com/tgerczei/conteaner synced 2024-07-17 09:25:24 +00:00
gitea/tea as an OCI image
Go to file
2021-03-13 07:20:13 +01:00
hooks backported improvements from development branch, bumped golang version to current stable 2020-12-13 17:32:36 +01:00
.gitignore version bump 2020-06-17 19:23:56 +02:00
Dockerfile fixed version tag in assembly stage 2021-03-13 07:20:13 +01:00
LICENSE added license [fixes #2] 2020-09-30 19:08:47 +02:00
README.md version bump 2021-03-13 07:02:11 +01:00

tea: A command line tool to interact with Gitea servers

Build

  • docker build . -t gitea/tea:0.7.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 -v $PWD:/repo:ro -w /repo 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