Update '.drone.yml'
Some checks reported errors
continuous-integration/drone/push Build encountered an error
Some checks reported errors
continuous-integration/drone/push Build encountered an error
This commit is contained in:
parent
8efa61a6b1
commit
ae7f3dd545
13
.drone.yml
13
.drone.yml
@ -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
|
|
Loading…
Reference in New Issue
Block a user