Files
artifactapi/.woodpecker/pre-commit.yaml
T
unkinben 7124fb5f53
ci/woodpecker/pr/test Pipeline was successful
ci/woodpecker/pr/pre-commit Pipeline failed
build: align Dockerfile with packer build and add docker-compose dev mounts
- Rebase Dockerfile onto almalinux9-base, install via uv tool install
- Remove dev artifacts (remotes.yaml, ca-bundle.pem) from image
- Mount gitignored dev files via docker-compose volumes instead
- Add .dockerignore to keep secrets out of build context
- Add pre-commit hook to validate docker build on Dockerfile changes
- Track docker-compose.yml in git (no secrets; dev files mounted as volumes)
2026-04-25 22:12:28 +10:00

10 lines
199 B
YAML

when:
- event: pull_request
steps:
- name: pre-commit
image: git.unkin.net/unkin/almalinux9-base:20260308
commands:
- dnf install -y buildah
- uvx pre-commit run --all-files