gopath
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is failing Details

pull/2/head
Adam Veldhousen 2021-03-12 20:49:03 -06:00
parent 36ef3b3d36
commit 3de235d7dc
Signed by: adam
GPG Key ID: 6DB29003C6DD1E4B
1 changed files with 6 additions and 0 deletions

View File

@ -5,11 +5,14 @@ name: build
steps:
- name: docker build and publish
image: docker:dind
environment:
GOPATH: /go/
volumes:
- name: dockersock
path: /var/run/docker.sock
commands:
- apk add make hugo git go
- mkdir -p /go/src
- make build publish
when:
branch:
@ -18,11 +21,14 @@ steps:
steps:
- name: docker build
image: docker:dind
environment:
GOPATH: /go/
volumes:
- name: dockersock
path: /var/run/docker.sock
commands:
- apk add make hugo git go
- mkdir -p /go/src
- make build
when:
branch: