switch hadolint to gitea-actions
This commit is contained in:
parent
34eddefbd4
commit
f52f3825eb
2 changed files with 16 additions and 8 deletions
16
.gitea/workflows/hadolint.yaml
Normal file
16
.gitea/workflows/hadolint.yaml
Normal file
|
@ -0,0 +1,16 @@
|
|||
name: gitleaks
|
||||
on:
|
||||
push:
|
||||
branches: [ master ]
|
||||
pull_request:
|
||||
|
||||
jobs:
|
||||
gitleaks:
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Run hadolint
|
||||
uses: docker://pipelinecomponents/hadolint:0.26.4
|
||||
with:
|
||||
args: Dockerfile
|
|
@ -1,13 +1,5 @@
|
|||
---
|
||||
steps:
|
||||
hadolint:
|
||||
image: pipelinecomponents/hadolint:0.26.4
|
||||
commands:
|
||||
- hadolint Dockerfile
|
||||
when:
|
||||
- event: [push, pull_request, cron]
|
||||
evaluate: 'CI_COMMIT_AUTHOR_EMAIL != "renovate@mgrote.net"'
|
||||
|
||||
shellcheck:
|
||||
image: "koalaman/shellcheck-alpine:v0.10.0"
|
||||
commands:
|
||||
|
|
Loading…
Reference in a new issue