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