Merge branch 'master' of github.com:AnonymusRaccoon/Kyoo into library

This commit is contained in:
Zoe Roux 2021-04-18 23:42:41 +02:00
commit 4988e5f0c6
2 changed files with 29 additions and 8 deletions

View File

@ -8,13 +8,32 @@ jobs:
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- name: Checkout submodules with:
run: git submodule update --init --recursive submodules: recursive
- name: Push to GitHub Packages - name: Docker meta
id: meta
uses: crazy-max/ghaction-docker-meta@v2
with:
images: ghcr.io/${{github.repository_owner}}/Kyoo
tags: |
type=ref,event=tag
type=ref,event=branch
type=ref,event=pr
type=sha,prefix=
- name: Set up QEMU
uses: docker/setup-qemu-action@v1
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Login to DockerHub
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{github.repository_owner}}
password: ${{secrets.GITHUB_TOKEN}}
- name: Build and push
id: docker_build
uses: docker/build-push-action@v2 uses: docker/build-push-action@v2
with: with:
username: ${{github.actor}} context: .
password: ${{secrets.GITHUB_TOKEN}} push: true
registry: docker.pkg.github.com tags: ${{steps.meta.outputs.tags}}
repository: AnonymusRaccoon/Kyoo/kyoo
tag_with_sha: true

View File

@ -44,6 +44,8 @@ For arch based, debian based or rpm compatible distributions, a package is autom
- [Debian](https://nightly.link/AnonymusRaccoon/Kyoo/workflows/release/master/kyoo_debian.zip) - [Debian](https://nightly.link/AnonymusRaccoon/Kyoo/workflows/release/master/kyoo_debian.zip)
- [RPM](https://nightly.link/AnonymusRaccoon/Kyoo/workflows/release/master/kyoo_rpm.zip) - [RPM](https://nightly.link/AnonymusRaccoon/Kyoo/workflows/release/master/kyoo_rpm.zip)
A docker file is also available and an up-to-date docker image is available at: `ghcr.io/anonymusraccoon/kyoo:master`. An example docker-compose image is available at the root of the repository. You can customise it to feet your needs and use a prebuild image or you can build it from source. To do that, clone the repository with the `--recurse` flag and run `docker-compose up `.
## Repositories ## Repositories
This is the main repository for Kyoo. Here, you will find all the server's code, the build process & the login page. This is the main repository for Kyoo. Here, you will find all the server's code, the build process & the login page.