Skip to content

Commit

Permalink
add docker pre-commit hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
glehmann committed Feb 6, 2024
1 parent d9a31dc commit 4cbfb11
Showing 1 changed file with 19 additions and 6 deletions.
25 changes: 19 additions & 6 deletions .pre-commit-hooks.yaml
Original file line number Diff line number Diff line change
@@ -1,20 +1,33 @@
# rust hooks
- id: yage-detect-rust
name: Detect non-encrypted secrets
description: Detect non-encrypted secrets using yage
entry: yage status
language: rust
- id: yage-encrypt
name: Encrypt secrets
description: Encrypt secrets using yage
entry: yage encrypt
language: rust
# system hooks
- id: yage-detect
name: Detect non-encrypted secrets
description: Detect non-encrypted secrets using yage
entry: yage status
language: system
- id: yage-encrypt
name: Encrypt secrets
description: Secrets secrets using yage
entry: yage status
language: rust
description: Encrypt secrets using yage
entry: yage encrypt
language: system
# docker hooks
- id: yage-detect
name: Detect non-encrypted secrets
description: Detect non-encrypted secrets using yage
entry: ghcr.io/glehmann/yage:main /yage status
language: docker_image
- id: yage-encrypt
name: Encrypt secrets
description: Secrets secrets using yage
entry: yage status
language: system
description: Encrypt secrets using yage
entry: ghcr.io/glehmann/yage:main /yage encrypt
language: docker_image

0 comments on commit 4cbfb11

Please sign in to comment.