diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..cd33c40 --- /dev/null +++ b/.drone.yml @@ -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