gopath
parent
36ef3b3d36
commit
3de235d7dc
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in New Issue