miniflux-filter/.drone.yml

42 lines
1 KiB
YAML
Raw Normal View History

---
kind: pipeline
type: docker
name: default
steps:
# https://github.com/hadolint/hadolint/blob/master/docs/INTEGRATION.md
- name: hadolint
image: hadolint/hadolint:latest-debian
# image: ghcr.io/hadolint/hadolint:latest-debian
commands:
- hadolint --version
2022-07-24 09:29:03 +02:00
- hadolint Dockerfile
# https://www.shellcheck.net/wiki/Drone
- name: shellcheck
image: koalaman/shellcheck-alpine:stable
commands:
- "shellcheck filter.sh"
- name: docker_build_and_push
image: plugins/docker
settings:
# Dockerhub-Username
username: quotengrote
# Dockerhub-Password
# als Org-Secret hinterlegt
password:
from_secret: DOCKERHUB_PASS
# Container-Registry
# registry: hub.docker.com
# Name des Containerfiles
2022-07-24 09:29:03 +02:00
dockerfile: Dockerfile
# Repo auf dem Dockerhub
repo: quotengrote/miniflux-filter
tags:
- latest
- ${DRONE_COMMIT_SHA:0:8}
when:
branch:
- master
event:
include:
- push