Compare commits
20 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| c30f8ba6e1 | |||
| 5389f7fefb | |||
| 1a4af60366 | |||
|
9783e06264
|
|||
| 6fe0371ec6 | |||
| 396ec8da30 | |||
| 2dcf213eed | |||
| 3838746a11 | |||
|
ade32112cc
|
|||
|
d3a799e614
|
|||
| d1b39178a9 | |||
| 234c533ee1 | |||
| d582c31201 | |||
|
c03b0c927d
|
|||
| 33d5c86d3f | |||
| bf49a63fef | |||
| 0144a905b0 | |||
| 445dfa1aca | |||
| 1bc4a6f847 | |||
| 0bcf2c23f9 |
@@ -2,6 +2,35 @@
|
|||||||
|
|
||||||
All notable changes to this project will be documented in this file.
|
All notable changes to this project will be documented in this file.
|
||||||
|
|
||||||
|
## [0.3.10] - 2025-12-03
|
||||||
|
|
||||||
|
### 🐛 Bug Fixes
|
||||||
|
|
||||||
|
- Add libyaml-dev to Dockerfile dependencies
|
||||||
|
|
||||||
|
## [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
|
||||||
|
|
||||||
|
- *(deps)* Update golang:1.25.4 docker digest to efe81fa
|
||||||
|
- *(deps)* Update golang docker tag to v1.25.5
|
||||||
|
|
||||||
## [0.3.6] - 2025-11-06
|
## [0.3.6] - 2025-11-06
|
||||||
|
|
||||||
### ⚙️ Miscellaneous Tasks
|
### ⚙️ 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
|
||||||
+2
-2
@@ -1,9 +1,9 @@
|
|||||||
FROM amd64/golang:1.25.4@sha256:2476911a55fb171469c5266ee3d81e180fd25592c4f74ae79488fb49578bdc96
|
FROM amd64/golang:1.25.5@sha256:ff44d519dbd3f622224d3433f319ae0b046abe081dda5b3d3c3db04a712e1898
|
||||||
|
|
||||||
ENV PATH=${PATH}:/root/.local/bin
|
ENV PATH=${PATH}:/root/.local/bin
|
||||||
|
|
||||||
RUN apt update && \
|
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 libyaml-dev && \
|
||||||
rm -rf /var/lib/apt/lists/* && \
|
rm -rf /var/lib/apt/lists/* && \
|
||||||
go install github.com/lietu/go-pre-commit@latest && \
|
go install github.com/lietu/go-pre-commit@latest && \
|
||||||
go install golang.org/x/tools/cmd/goimports@latest && \
|
go install golang.org/x/tools/cmd/goimports@latest && \
|
||||||
|
|||||||
Reference in New Issue
Block a user