caddy-server/.drone.yml

14 lines
377 B
YAML
Raw Normal View History

2019-07-18 13:57:57 +00:00
kind: pipeline
2021-02-27 03:52:39 +00:00
name: caddy-server
2021-02-27 03:47:10 +00:00
type: docker
2019-07-18 13:57:57 +00:00
steps:
- name: Build Caddy Server
image: golang
commands:
2021-02-27 04:20:42 +00:00
- pwd
2019-08-13 21:37:12 +00:00
- go build -o caddy-server main.go
- name: Build Docker Image
2021-02-27 04:17:07 +00:00
image: gcr.io/kaniko-project/executor:debug
2019-08-13 21:37:12 +00:00
commands:
2021-02-27 04:35:02 +00:00
- /kaniko/executor -f Dockerfile --destination "registry.linuxrocker.com/caddy-server:v0.0.1" --context "$PWD"