Add docker build
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
kleph 2020-02-15 00:42:17 +01:00
parent 94b37ca609
commit 5e3592003b
2 changed files with 17 additions and 3 deletions

View file

@ -1,5 +1,5 @@
kind: pipeline
name: lint
name: lint and build
steps:
- name: pylint
@ -19,3 +19,16 @@ steps:
image: validator/validator:latest
commands:
- vnu static/*.html
- name: build image
image: docker:stable
environment:
DOCKER_HOST: tcp://docker:2375
commands:
- docker build -t kleph/beer .
services:
- name: docker
image: docker:dind
command: [ "--storage-driver=vfs", "--tls=false" ]
# privileged: true

View file

@ -1,2 +1,3 @@
# beer
Build status: [![Build Status](https://drone.kleph.eu/api/badges/kleph/beer/status.svg)](https://drone.kleph.eu/kleph/beer)