[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:
|
settings:
|
||||||
purge: true
|
purge: true
|
||||||
repo: otakukaze/golang-base-image
|
repo: otakukaze/golang-base-image
|
||||||
|
username: otakukaze
|
||||||
|
password:
|
||||||
|
from_secret: password
|
||||||
tags:
|
tags:
|
||||||
- "${DRONE_BRANCH}"
|
- "${DRONE_BRANCH}"
|
||||||
when:
|
when:
|
||||||
@ -24,6 +27,9 @@ steps:
|
|||||||
settings:
|
settings:
|
||||||
purge: true
|
purge: true
|
||||||
repo: otakukaze/golang-base-image
|
repo: otakukaze/golang-base-image
|
||||||
|
username: otakukaze
|
||||||
|
password:
|
||||||
|
from_secret: password
|
||||||
tags:
|
tags:
|
||||||
- "1"
|
- "1"
|
||||||
- "latest"
|
- "latest"
|
||||||
|
@ -1,4 +1,7 @@
|
|||||||
ARG IMG_TAG=1
|
ARG IMG_TAG=1
|
||||||
FROM golang:${IMG_TAG}
|
FROM golang:${IMG_TAG}
|
||||||
RUN go get -u github.com/go-bindata/go-bindata/... \
|
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