This repository has been archived on 2024-08-12. You can view files and clone it, but cannot push or open issues or pull requests.
munin-server/.drone.yml

39 lines
961 B
YAML

---
kind: pipeline
type: docker
name: default
steps:
- name: run gitleaks
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
- 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/munin-server
tags:
- latest
- ${DRONE_COMMIT_SHA:0:8}
when:
branch:
- master
event:
include:
- push