ci hinzugefügt
This commit is contained in:
parent
ef6bd5e4db
commit
b9ae9bdf23
1 changed files with 36 additions and 0 deletions
36
.drone.yml
Normal file
36
.drone.yml
Normal file
|
@ -0,0 +1,36 @@
|
|||
---
|
||||
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
|
||||
- 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
|
Reference in a new issue