https://github.com/nthings/docker-gtm
GTM docker image
https://github.com/nthings/docker-gtm
Last synced: 3 months ago
JSON representation
GTM docker image
- Host: GitHub
- URL: https://github.com/nthings/docker-gtm
- Owner: nthings
- License: mit
- Created: 2018-02-23T21:37:48.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-02-26T17:15:13.000Z (over 8 years ago)
- Last Synced: 2025-10-22T01:41:38.660Z (9 months ago)
- Homepage: https://hub.docker.com/r/nthingsm/gtm/
- Size: 17.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
### GTM (Git Time Metric) Docker Image
For more information about GTM please see the [GTM GitHub Proyect](https://github.com/git-time-metric/gtm).
## Description
This project contains an Ubuntu base image with GIT and GTM.
## Usage
https://hub.docker.com/r/nthingsm/gtm/
```sh
docker pull nthingsm/gtm
```
I use it in my GitLab Pipeline for automating reports and having them accessible by the team.
For example with this stage in the Pipeline my team can view the report of hours expend in the month coding.
```yml
time_report:
stage: time_report
image: nthingsm/gtm
script:
- gtm init
- git fetchgtm
- git log --pretty=%H --since="last month" | gtm report -format timeline-hours -this-month | tee hoursReport$( date +"%B" ).txt
artifacts:
paths:
- hoursReport*
```