35 lines
791 B
YAML
35 lines
791 B
YAML
---
|
|
when:
|
|
- event: push
|
|
branch: feat/woodpecker-ci
|
|
|
|
steps:
|
|
- name: build-image
|
|
image: woodpeckerci/plugin-kaniko
|
|
settings:
|
|
registry: git.roboces.dev
|
|
repo: catalin/fukuops
|
|
tags: ci-fmt
|
|
target: fmt
|
|
username:
|
|
from_secret: FORGEJO_REGISTRY_USERNAME
|
|
password:
|
|
from_secret: FORGEJO_REGISTRY_PASSWORD
|
|
|
|
- name: pre-commit
|
|
image: git.roboces.dev/catalin/fukuops:ci-fmt
|
|
depends_on: [build-image]
|
|
commands:
|
|
- make fmt--pre-commit
|
|
|
|
- name: kubeconform
|
|
image: git.roboces.dev/catalin/fukuops:ci-fmt
|
|
depends_on: [build-image]
|
|
commands:
|
|
- make fmt--kubeconform
|
|
|
|
- name: tflint
|
|
image: git.roboces.dev/catalin/fukuops:ci-fmt
|
|
depends_on: [build-image]
|
|
commands:
|
|
- make fmt--tflint
|