[feat] move bin to usr/bin
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Jay 2021-01-04 23:04:31 +08:00
parent aaa5e4c85a
commit 8aea07cf6e
2 changed files with 10 additions and 1 deletions

View File

@ -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"

View File

@ -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