Compare commits
18 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| cb8c7b02db | |||
| bc1ca34c6c | |||
| fea69bc45c | |||
| 6aee48d5ef | |||
| 87f2afe263 | |||
| 282175daf3 | |||
| f1cda3a703 | |||
|
609c12da30
|
|||
| c30f8ba6e1 | |||
| 5389f7fefb | |||
| 1a4af60366 | |||
|
9783e06264
|
|||
| 6fe0371ec6 | |||
| 396ec8da30 | |||
| 2dcf213eed | |||
| 3838746a11 | |||
|
ade32112cc
|
|||
|
d3a799e614
|
@@ -14,5 +14,6 @@ build:
|
||||
stage: build
|
||||
script:
|
||||
- unset BUILDTOOLS_CONTENT
|
||||
- unset BUILDKIT_HOST
|
||||
- build
|
||||
- push
|
||||
|
||||
@@ -2,6 +2,22 @@
|
||||
|
||||
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
|
||||
|
||||
@@ -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.5@sha256:ff44d519dbd3f622224d3433f319ae0b046abe081dda5b3d3c3db04a712e1898
|
||||
FROM amd64/golang:1.25.6@sha256:9860925875ac68a8fb57416cfc5c1ee267a06226730434af677b9406e8ea6ee6
|
||||
|
||||
ENV PATH=${PATH}:/root/.local/bin
|
||||
|
||||
RUN apt update && \
|
||||
apt install -y python3 python3-pip ruby ruby-dev git pipx libffi8 && \
|
||||
apt install -y python3 python3-pip ruby ruby-dev git pipx libffi-dev libyaml-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