Doku + Org-Secrets

This commit is contained in:
Michael Grote 2022-08-06 20:25:24 +02:00
parent 89e79ecb63
commit 2221a40cc4

View file

@ -7,32 +7,25 @@ steps:
image: plugins/gitleaks
settings:
path: .
# 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
- 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
dockerfile: Dockerfile
# Repo auf dem Dockerhub
repo: quotengrote/miniflux-filter
tags:
- latest