28 lines
566 B
YAML
28 lines
566 B
YAML
kind: pipeline
|
|
name: default
|
|
|
|
volumes:
|
|
- name: docker_socket
|
|
host:
|
|
path: /var/run/docker.sock
|
|
|
|
steps:
|
|
- name: build
|
|
image: docker
|
|
commands:
|
|
- mkdir -p ~/.docker
|
|
- 'echo {"experimental": "enabled"} > ~/.docker/config.json'
|
|
- docker info
|
|
- docker buildx --progress plain -t dagobert:latest .
|
|
volumes:
|
|
- name: docker_socket
|
|
path: /var/run/docker.sock
|
|
- name: notify
|
|
image: drillster/drone-email
|
|
settings:
|
|
host: smtp
|
|
port: 25
|
|
skip_verify: true
|
|
from: drone@chrz.de
|
|
when:
|
|
status: [ success, failure ] |