miniflux-filter/.drone.yml

56 lines
1.1 KiB
YAML
Raw Normal View History

---
kind: pipeline
type: docker
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
- 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
- name: shellcheck
image: koalaman/shellcheck-alpine:stable
commands:
- "shellcheck filter.sh"
2022-08-06 20:25:24 +02:00
2023-04-10 18:55:55 +02:00
- name: docker_build_and_push_master
image: plugins/docker
settings:
username: quotengrote
password:
from_secret: DOCKERHUB_PASS
2022-07-24 09:29:03 +02:00
dockerfile: Dockerfile
repo: quotengrote/miniflux-filter
tags:
- latest
- ${DRONE_COMMIT_SHA:0:8}
2023-04-10 18:38:19 +02:00
- ${DRONE_COMMIT_BRANCH}
when:
branch:
- master
event:
exclude:
- pull_request
2023-04-10 18:55:55 +02:00
- name: docker_build_and_push
image: plugins/docker
settings:
username: quotengrote
password:
from_secret: DOCKERHUB_PASS
dockerfile: Dockerfile
repo: quotengrote/miniflux-filter
tags:
- ${DRONE_COMMIT_SHA:0:8}
- ${DRONE_COMMIT_BRANCH}
when:
event:
exclude:
- pull_request