Compare commits
10 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 6fe0371ec6 | |||
| 396ec8da30 | |||
| 2dcf213eed | |||
| 3838746a11 | |||
|
ade32112cc
|
|||
|
d3a799e614
|
|||
| d1b39178a9 | |||
| 234c533ee1 | |||
| d582c31201 | |||
|
c03b0c927d
|
+17
-1
@@ -2,7 +2,23 @@
|
||||
|
||||
All notable changes to this project will be documented in this file.
|
||||
|
||||
## [0.3.7] - 2025-12-02
|
||||
## [0.3.9] - 2025-12-03
|
||||
|
||||
### 🐛 Bug Fixes
|
||||
|
||||
- Update libffi package in Dockerfile installation
|
||||
|
||||
### 📚 Documentation
|
||||
|
||||
- Add CLAUDE.md for project guidance and setup
|
||||
|
||||
## [0.3.8] - 2025-12-03
|
||||
|
||||
### 🐛 Bug Fixes
|
||||
|
||||
- Add libffi8 to Dockerfile dependencies
|
||||
|
||||
## [0.3.7] - 2025-12-03
|
||||
|
||||
### ⚙️ Miscellaneous Tasks
|
||||
|
||||
|
||||
@@ -0,0 +1,30 @@
|
||||
# CLAUDE.md
|
||||
|
||||
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
|
||||
|
||||
## Project Overview
|
||||
|
||||
This repository builds a Docker image for running pre-commit hooks in CI/CD pipelines. The image is based on Go and includes Python (via pipx), Ruby, and common development tools like goimports and go-pre-commit.
|
||||
|
||||
## Build Commands
|
||||
|
||||
The project uses GitLab CI with custom templates:
|
||||
- Build and push are handled by the `build` and `push` commands from the `buildtool/build-tools` image
|
||||
- No local Makefile; builds run in CI pipeline
|
||||
|
||||
## Release Process
|
||||
|
||||
Releases use git-cliff for changelog generation:
|
||||
```bash
|
||||
git cliff -o CHANGELOG.md
|
||||
```
|
||||
|
||||
Version is stored in `.version` as JSON: `{"version":"vX.Y.Z"}`
|
||||
|
||||
## Conventional Commits
|
||||
|
||||
This project uses conventional commits. Commit types:
|
||||
- `feat`: New features
|
||||
- `fix`: Bug fixes
|
||||
- `chore`: Maintenance tasks (deps, CI)
|
||||
- `docs`, `perf`, `refactor`, `style`, `test`: As standard
|
||||
+1
-1
@@ -3,7 +3,7 @@ FROM amd64/golang:1.25.5@sha256:ff44d519dbd3f622224d3433f319ae0b046abe081dda5b3d
|
||||
ENV PATH=${PATH}:/root/.local/bin
|
||||
|
||||
RUN apt update && \
|
||||
apt install -y python3 python3-pip ruby ruby-dev git pipx && \
|
||||
apt install -y python3 python3-pip ruby ruby-dev git pipx libffi-dev && \
|
||||
rm -rf /var/lib/apt/lists/* && \
|
||||
go install github.com/lietu/go-pre-commit@latest && \
|
||||
go install golang.org/x/tools/cmd/goimports@latest && \
|
||||
|
||||
Reference in New Issue
Block a user