Update '.drone.yml'
Some checks reported errors
continuous-integration/drone/push Build encountered an error

This commit is contained in:
mattburchett 2021-02-26 22:17:07 -06:00
parent 8efa61a6b1
commit ae7f3dd545

View File

@ -8,15 +8,6 @@ steps:
commands: commands:
- go build -o caddy-server main.go - go build -o caddy-server main.go
- name: Build Docker Image - name: Build Docker Image
image: docker image: gcr.io/kaniko-project/executor:debug
volumes:
- name: dockersock
path: /var/run/docker.sock
commands: commands:
- docker build -t registry.linuxrocker.com/caddy-server:v0.0.1 . - pwd
- docker push registry.linuxrocker.com/caddy-server:v0.0.1
volumes:
- name: dockersock
host:
path: /var/run/docker.sock