add go mod support (#586)

Former-commit-id: cbe15cc342afd93705ee0ebd588313dad64ad45e [formerly d8de1b0940a83510fc5af2d35b04bce5d34fec60] [formerly d5b2b44d09de2740ebde690b9eb85d5ac5bbcd0c [formerly 4945635bd64aa427099d765aac2489e94ee04fcf]]
Former-commit-id: a56cc4805870bedf858ca69d9692188d69bf9bef [formerly faec73a01496613eaa0ee1512d77a8d62617cac0]
Former-commit-id: 67b5db918ee3295f5d4223b68e11504ec4f70491
This commit is contained in:
1138-4EB
2018-12-26 00:48:43 +01:00
committed by GitHub
parent fab33e3ed1
commit c8b5728743
7 changed files with 218 additions and 16 deletions

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