diff --git a/.gitignore b/.gitignore index 1b7bd07b..a6d57c40 100644 --- a/.gitignore +++ b/.gitignore @@ -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 diff --git a/.goreleaser.yml b/.goreleaser.yml index a7b73f97..84a38345 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -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 \ No newline at end of file + disable: true + +dockers: + - + goos: linux + goarch: amd64 + goarm: '' + image: filebrowser/filebrowser + skip_push: true + tag_templates: + - "{{ .Tag }}" + - latest + extra_files: + - Docker.json