add go mod support (#586)

This commit is contained in:
1138-4EB authored and GitHub committed 2018-12-26 00:48:43 +01:00
1 parent 59f28638c7
commit 4945635bd6
7 files changed
+218 -16

No files matched your search

+1 -2
View File
@@ -10,7 +10,6 @@ addons:
env:
global:
- USE_DOCKER="true"
- WDIR=/go/src/github.com/filebrowser/filebrowser
stages:
- lint
- test
@@ -34,7 +33,7 @@ jobs:
branch: master
- stage: release
script:
- docker run --rm -itv $(pwd):$WDIR -v /var/run/docker.sock:/var/run/docker.sock filebrowser/dev goreleaser
- docker run --rm -itv $(pwd):/go/src/github.com/filebrowser/filebrowser -v /var/run/docker.sock:/var/run/docker.sock filebrowser/dev goreleaser
- ./build/push_images.sh
- ./build/push_ricebox.sh
if: tag IS present