https://github.com/updevru/go-micro-tool
https://github.com/updevru/go-micro-tool
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/updevru/go-micro-tool
- Owner: updevru
- Created: 2025-07-10T18:38:22.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2025-10-20T13:50:03.000Z (9 months ago)
- Last Synced: 2025-10-20T15:34:52.464Z (9 months ago)
- Language: Dockerfile
- Size: 4.88 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Go Micro Tool
Docker image with pre-installed utilities for Go projects, particularly focused on gRPC development.
## Included Tools
- Go 1.24
- Protobuf compiler and related tools:
- protoc-gen-grpc-gateway
- protoc-gen-openapiv2
- protoc-gen-go
- protoc-gen-go-grpc
- protoc-gen-protolint
- golangci-lint
- gotestsum
## Usage
```bash
docker pull updev/go-micro-tool:latest
```
## Automated Builds
This repository uses GitHub Actions to automatically build and publish the Docker image to Docker Hub when a new version tag is created.
### GitHub Actions Workflow
The workflow is triggered when a tag starting with 'v' is pushed to the repository (e.g., v1.0.0). It builds the Docker image and pushes it to Docker Hub with both the version tag and the 'latest' tag.
### Required GitHub Secrets
To use this workflow, you need to set up the following secrets in your GitHub repository:
- `DOCKERHUB_USERNAME`: Your Docker Hub username
- `DOCKERHUB_TOKEN`: Your Docker Hub access token (not your password)
### Creating a New Release
To create a new release and trigger the workflow:
1. Tag your commit:
```bash
git tag v1.0.0
git push origin v1.0.0
```
2. The GitHub Action will automatically build and publish the Docker image to Docker Hub.