diff --git a/.goreleaser.yml b/.goreleaser.yml index 84a38345..f535e474 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -51,7 +51,7 @@ dockers: goarch: amd64 goarm: '' image: filebrowser/filebrowser - skip_push: true + skip_push: false tag_templates: - "{{ .Tag }}" - latest diff --git a/.travis.yml b/.travis.yml index e0647813..8d044ab2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -35,9 +35,7 @@ jobs: branch: master - stage: release script: - - ./build/docker_login.sh - - docker run --rm -itv $(pwd):$WDIR -v /var/run/docker.sock:/var/run/docker.sock filebrowser/dev goreleaser - - docker logout + - docker run --rm -itv $(pwd):$WDIR -v /var/run/docker.sock:/var/run/docker.sock filebrowser/dev sh -c "./build/docker_login.sh && goreleaser; docker logout" - ./build/push_ricebox.sh if: tag IS present deploy: @@ -48,4 +46,5 @@ jobs: file_glob: true on: repo: filebrowser/filebrowser - branch: master + all_branches: true + tags: true