2022-07-20 20:33:02 +02:00
|
|
|
---
|
|
|
|
kind: pipeline
|
2023-03-21 17:54:36 +01:00
|
|
|
type: docker
|
2022-07-20 20:33:02 +02:00
|
|
|
name: default
|
|
|
|
steps:
|
2022-07-24 20:31:02 +02:00
|
|
|
- name: run gitleaks
|
|
|
|
image: plugins/gitleaks
|
|
|
|
settings:
|
|
|
|
path: .
|
2022-08-06 20:25:24 +02:00
|
|
|
|
2022-07-20 20:33:02 +02:00
|
|
|
- name: hadolint
|
|
|
|
image: hadolint/hadolint:latest-debian
|
|
|
|
commands:
|
|
|
|
- hadolint --version
|
2022-07-24 09:29:03 +02:00
|
|
|
- hadolint Dockerfile
|
2022-08-06 20:25:24 +02:00
|
|
|
|
2022-07-20 20:33:02 +02:00
|
|
|
- name: shellcheck
|
|
|
|
image: koalaman/shellcheck-alpine:stable
|
|
|
|
commands:
|
|
|
|
- "shellcheck filter.sh"
|
2022-08-06 20:25:24 +02:00
|
|
|
|
2022-07-20 20:33:02 +02:00
|
|
|
- name: docker_build_and_push
|
|
|
|
image: plugins/docker
|
|
|
|
settings:
|
|
|
|
username: quotengrote
|
|
|
|
password:
|
|
|
|
from_secret: DOCKERHUB_PASS
|
2022-07-24 09:29:03 +02:00
|
|
|
dockerfile: Dockerfile
|
2022-07-20 20:33:02 +02:00
|
|
|
repo: quotengrote/miniflux-filter
|
|
|
|
tags:
|
|
|
|
- latest
|
|
|
|
- ${DRONE_COMMIT_SHA:0:8}
|
|
|
|
when:
|
|
|
|
branch:
|
2022-08-26 17:16:26 +02:00
|
|
|
- master
|
|
|
|
event:
|
|
|
|
exclude:
|
|
|
|
- pull_request
|