mirror of
https://github.com/EpicMorg/docker-scripts.git
synced 2025-03-20 09:20:33 +03:00
32 lines
794 B
YAML
32 lines
794 B
YAML
|
name: 123
|
||
|
on:
|
||
|
# push:
|
||
|
# branches:
|
||
|
# - 'develop'
|
||
|
schedule:
|
||
|
- cron: '0 0 * * *' # At the end of every day
|
||
|
|
||
|
jobs:
|
||
|
|
||
|
build-torrserver-image:
|
||
|
name: EpicMorg EcoSystem TorrServer Image
|
||
|
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: Test Make
|
||
|
run: make
|
||
|
|
||
|
##################################################################################
|
||
|
|
||
|
- name: Build and Deploy TorrServer
|
||
|
run: cd linux/ecosystem/torrserver && make build && make deploy
|
||
|
|
||
|
##################################################################################
|
||
|
|
||
|
- name: Cleanup
|
||
|
run: make docker-clean
|