hello-ci/.drone.yml

30 lines
751 B
YAML
Raw Normal View History

2020-02-13 09:31:49 +00:00
kind: pipeline
2020-02-13 17:31:37 +00:00
name: default
2020-02-13 17:07:19 +00:00
2020-02-13 17:34:10 +00:00
volumes:
- name: docker_socket
host:
path: /var/run/docker.sock
2020-02-13 09:31:49 +00:00
steps:
- name: build
2020-02-13 17:22:43 +00:00
image: docker
commands:
2020-02-13 17:55:02 +00:00
- apk add --update curl
- curl --create-dirs --url https://github.com/docker/buildx/releases/download/v0.3.1/buildx-v0.3.1.linux-amd64 --output ~/.docker/cli-plugins/docker-buildx
- chmod a+x ~/.docker/cli-plugins/docker-buildx
2020-02-13 17:56:59 +00:00
- ls -la ~/.docker/cli-plugins
2020-02-13 17:42:26 +00:00
- docker info
2020-02-13 17:36:49 +00:00
- docker buildx --progress plain -t dagobert:latest .
2020-02-13 17:26:01 +00:00
volumes:
- name: docker_socket
path: /var/run/docker.sock
2020-02-13 09:31:49 +00:00
- name: notify
image: drillster/drone-email
2020-02-13 09:35:25 +00:00
settings:
2020-02-13 10:01:45 +00:00
host: smtp
port: 25
skip_verify: true
2020-02-13 09:58:50 +00:00
from: drone@chrz.de
2020-02-13 09:31:49 +00:00
when:
status: [ success, failure ]