Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 1f2ed873d1 |
@@ -11,7 +11,7 @@ repos:
|
||||
- id: docker-build
|
||||
name: docker build
|
||||
language: system
|
||||
entry: buildah --storage-driver vfs bud -t artifactapi:pre-commit-test .
|
||||
entry: buildah bud -t artifactapi:pre-commit-test .
|
||||
pass_filenames: false
|
||||
files: ^(Dockerfile|\.dockerignore|pyproject\.toml|src/)
|
||||
stages: [pre-commit]
|
||||
|
||||
@@ -4,6 +4,8 @@ when:
|
||||
steps:
|
||||
- name: pre-commit
|
||||
image: git.unkin.net/unkin/almalinux9-base:20260308
|
||||
environment:
|
||||
BUILDAH_STORAGE_DRIVER: vfs
|
||||
commands:
|
||||
- dnf install -y buildah
|
||||
- uvx pre-commit run --all-files
|
||||
|
||||
Reference in New Issue
Block a user