fix (build): update build

This commit is contained in:
Mickael Kerjean 2020-06-18 23:44:55 +10:00
parent 3f0201b059
commit be798ee4ab
3 changed files with 6 additions and 5 deletions

View file

@ -109,12 +109,13 @@ steps:
settings:
command_timeout: 30m
host: rick.kerjean.me
user:
username:
from_secret: SSH_USERNAME
password:
from_secret: SSH_PASSWORD
source: filestash_Linux-x86_64.tar.gpg
target: /mnt/me-kerjean-pages/projects/filestash/downloads/latest/
overwrite: true
- name: release_docker
image: plugins/docker
@ -134,7 +135,8 @@ steps:
- name: release_report
image: plugins/irc
depends_on: [ release_deploy ]
failure: ignore
depends_on: [ release_docker ]
when:
branch: master
settings:
@ -148,4 +150,4 @@ steps:
Build success: https://github.com/mickael-kerjean/filestash/commit/{{build.commit}}
{{else}}
Build failure: er}} https://github.com/mickael-kerjean/filestash/commit/{{build.commit}}
{{/success}}
{{/success}}

View file

@ -10,7 +10,7 @@ RUN apt-get update > /dev/null && \
apt-get install -y libglib2.0-0 curl gnupg > /dev/null && \
echo $PUBLIC_KEY | gpg --import && \
cd /tmp/ && \
curl --resolve downloads.filestash.app:443:94.23.200.66 -s https://downloads.filestash.app/latest/filestash_`uname -s`-`uname -m`.tar.gpg | gpg --decrypt | tar xf - && \
curl --resolve downloads.filestash.app -s https://downloads.filestash.app/latest/filestash_`uname -s`-`uname -m`.tar.gpg | gpg --decrypt | tar xf - && \
mv filestash /app/ && \
apt-get purge -y --auto-remove gnupg && \
#################

View file

@ -14,7 +14,6 @@ import (
_ "github.com/mickael-kerjean/filestash/server/plugin/plg_backend_dropbox"
_ "github.com/mickael-kerjean/filestash/server/plugin/plg_security_scanner"
_ "github.com/mickael-kerjean/filestash/server/plugin/plg_security_svg"
_ "github.com/mickael-kerjean/filestash/server/plugin/plg_handler_console"
. "github.com/mickael-kerjean/filestash/server/common"
)