1
0

add drone-ci
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Pim van den Berg 2022-07-01 15:42:00 +02:00
parent 340249494f
commit 4e11191eeb

38
.drone.yml Normal file
View File

@ -0,0 +1,38 @@
kind: pipeline
name: default
type: docker
steps:
- name: build
image: docker:dind
settings:
mtu: 1450
volumes:
- name: dockersock
path: /var/run
# environment:
# DOCKER_PASSWORD:
# from_secret: docker_password
commands:
- sleep 5 # give docker enough time to start
- docker pull pommib/powerdns:4.6-bookworm
- docker pull debian:bookworm-slim
- docker build --no-cache -t pommib/powerdns:4.6-bookworm ./debian/12/
services:
- name: docker
image: docker:dind
privileged: true
volumes:
- name: dockersock
path: /var/run
volumes:
- name: dockersock
temp: {}
trigger:
branch:
- master
event:
- push