build docker images with goreleaser

This commit is contained in:
1138-4EB committed 2018-08-06 05:01:33 +01:00
1 parent 7459e66b71
commit 6cb2e30143
2 files changed
+26 -7

No files matched your search

+8 -6
View File
@@ -2,12 +2,14 @@
*/dist/*
*.db
*.db.lock
npm-debug.log*
yarn-debug.log*
yarn-error.log*
.idea
.vscode
package-lock.json
yarn.lock
vendor
Dockerfile
filebrowser
rice-box.go
vendor
npm-debug.log*
package-lock.json
yarn-debug.log*
yarn-error.log*
yarn.lock
+18 -1
View File
@@ -1,4 +1,8 @@
project_name: filebrowser
build:
env:
- CGO_ENABLED=0
main: cmd/filebrowser/main.go
binary: filebrowser
goos:
@@ -39,4 +43,17 @@ archive:
format: zip
release:
disable: true
disable: true
dockers:
-
goos: linux
goarch: amd64
goarm: ''
image: filebrowser/filebrowser
skip_push: true
tag_templates:
- "{{ .Tag }}"
- latest
extra_files:
- Docker.json