[feat] move bin to usr/bin
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
aaa5e4c85a
commit
8aea07cf6e
@ -11,6 +11,9 @@ steps:
|
||||
settings:
|
||||
purge: true
|
||||
repo: otakukaze/golang-base-image
|
||||
username: otakukaze
|
||||
password:
|
||||
from_secret: password
|
||||
tags:
|
||||
- "${DRONE_BRANCH}"
|
||||
when:
|
||||
@ -24,6 +27,9 @@ steps:
|
||||
settings:
|
||||
purge: true
|
||||
repo: otakukaze/golang-base-image
|
||||
username: otakukaze
|
||||
password:
|
||||
from_secret: password
|
||||
tags:
|
||||
- "1"
|
||||
- "latest"
|
||||
|
@ -1,4 +1,7 @@
|
||||
ARG IMG_TAG=1
|
||||
FROM golang:${IMG_TAG}
|
||||
RUN go get -u github.com/go-bindata/go-bindata/... \
|
||||
&& go get -u github.com/go-swagger/go-swagger/...
|
||||
&& go get -u github.com/go-swagger/go-swagger/... \
|
||||
&& mv "$(go env GOPATH)/bin/go-bindata" /usr/bin \
|
||||
&& mv "$(go env GOPATH)/bin/swagger" /usr/bin
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user