chore: fix push ricebox

License: MIT
Signed-off-by: Henrique Dias <hacdias@gmail.com>
pull/724/head
Henrique Dias 2019-05-11 08:27:33 +01:00
parent bd93aeb50d
commit 549dec46e0
2 changed files with 11 additions and 2 deletions

@ -1 +1 @@
Subproject commit 3ed2144a0e7e9c36c7c09aab911e3111827b55a2
Subproject commit df42e352f779eecf472b840405c20d21e94bc379

View File

@ -8,6 +8,7 @@ LINT="false"
BUILD="false"
PUSH_LATEST="false"
RELEASE=""
GO111MODULES="on"
debugInfo () {
echo "Repo: $REPO"
@ -133,6 +134,14 @@ pushRicebox () {
cd caddy
cp ../http/rice-box.go ./
sed -i 's/package http/package caddy/g' ./rice-box.go
docker run --rm -t \
-v $(pwd):/src \
-w /src \
-v /var/run/docker.sock:/var/run/docker.sock \
filebrowser/dev \
sh -c "go get -u"
git checkout -b update-rice-box origin/master
git config --local user.name "Filebrowser Bot"
git config --local user.email "FilebrowserBot@users.noreply.github.com"
@ -169,8 +178,8 @@ ciRelease () {
goreleaser \
"
dockerPushTag
pushRicebox
dockerPushTag
}
build () {