torr actions

This commit is contained in:
EpicMorg 2021-11-12 02:12:14 +03:00
parent 0a1c2baa73
commit 769147642e
Signed by: root
GPG Key ID: 7EAD86746D85C445
2 changed files with 37 additions and 1 deletions

36
.github/workflows/torrserver-temp.yml vendored Normal file
View File

@ -0,0 +1,36 @@
name: torrserver-temp
on:
push:
branches:
- 'develop'
schedule:
- cron: '0 0 * * *' # At the end of every day
jobs:
##################################################################################
#### Template
##################################################################################
# - name: Build Template
# run: docker build --compress -t user/repo:tag path/to/folder/contains/dockerfile
# - name: Push Template
# run: docker push user/repo:tag
##################################################################################
build-forked-fixed-independed-images:
name: Forked and fixed independed images
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- name: Log into registry
run: echo "${{ secrets.DOCKER_SERVER_KEY }}" | docker login -u "${{ secrets.DOCKER_SERVER_LOGIN }}" --password-stdin
##################################################################################
- name: Build TorrServer
run: cd linux/ecosystem/torrserver && make build
- name: Push TorrServer
run: cd linux/ecosystem/torrserver && make deploy

View File

@ -20,7 +20,7 @@ EXPOSE \
$UI_PORT \ $UI_PORT \
$UPNP_PORT \ $UPNP_PORT \
$UPNP_PORT/udp $UPNP_PORT/udp
VOLUME \ VOLUME \
/config /config