From 769147642e2e93da2f866543ecee76aeba3e1f88 Mon Sep 17 00:00:00 2001 From: EpicMorg Date: Fri, 12 Nov 2021 02:12:14 +0300 Subject: [PATCH] torr actions --- .github/workflows/torrserver-temp.yml | 36 +++++++++++++++++++++++++++ linux/ecosystem/torrserver/Dockerfile | 2 +- 2 files changed, 37 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/torrserver-temp.yml diff --git a/.github/workflows/torrserver-temp.yml b/.github/workflows/torrserver-temp.yml new file mode 100644 index 000000000..509581744 --- /dev/null +++ b/.github/workflows/torrserver-temp.yml @@ -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 diff --git a/linux/ecosystem/torrserver/Dockerfile b/linux/ecosystem/torrserver/Dockerfile index e09511a9a..eeb9b9538 100644 --- a/linux/ecosystem/torrserver/Dockerfile +++ b/linux/ecosystem/torrserver/Dockerfile @@ -20,7 +20,7 @@ EXPOSE \ $UI_PORT \ $UPNP_PORT \ $UPNP_PORT/udp - + VOLUME \ /config