[1] update github actions

This commit is contained in:
meisnate12 2024-04-26 13:24:18 -04:00
parent e1a9cacc85
commit 5154eee394
4 changed files with 53 additions and 63 deletions

View file

@ -6,7 +6,6 @@ on:
jobs:
tag:
if: ${{ startsWith(github.ref, 'refs/tags/v1') || startsWith(github.ref, 'refs/tags/v2') }}
runs-on: ubuntu-latest
steps:

View file

@ -8,15 +8,8 @@ on:
jobs:
docker:
if: ${{ startsWith(github.ref, 'refs/tags/v1') || startsWith(github.ref, 'refs/tags/v2') }}
runs-on: ubuntu-latest
strategy:
matrix:
node:
- tag: ""
file: Dockerfile
- tag: lxml-
file: Dockerfile.lxml
steps:
- name: Check Out Repo
@ -43,15 +36,27 @@ jobs:
id: get_version
run: echo "VERSION=${GITHUB_REF/refs\/tags\//}" >> $GITHUB_OUTPUT
- name: Build and Push LXML
id: docker_build
uses: docker/build-push-action@v5
with:
context: ./
file: ./Dockerfile.lxml
platforms: linux/amd64,linux/arm64,linux/arm/v7
push: true
tags: kometateam/kometa:lxml-${{ steps.get_version.outputs.VERSION }}
cache-from: type=gha
cache-to: type=gha,mode=max
- name: Build and Push
id: docker_build
uses: docker/build-push-action@v5
with:
context: ./
file: ./${{ matrix.node.file }}
file: ./Dockerfile
platforms: linux/amd64,linux/arm64,linux/arm/v7
push: true
tags: kometateam/kometa:${{ matrix.node.tag }}${{ steps.get_version.outputs.VERSION }}
tags: kometateam/kometa:${{ steps.get_version.outputs.VERSION }}
cache-from: type=gha
cache-to: type=gha,mode=max
@ -82,21 +87,6 @@ jobs:
author: Docker
author_icon_url: https://raw.githubusercontent.com/Kometa-Team/Kometa/master/.github/docker.png
commit-notification:
runs-on: ubuntu-latest
if: ${{ success() }}
needs: [docker]
steps:
- name: Check Out Repo
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Get the version
id: get_version
run: echo "VERSION=${GITHUB_REF/refs\/tags\//}" >> $GITHUB_OUTPUT
- name: Checkout Configs Repo
uses: actions/checkout@v4
with:

View file

@ -1 +1 @@
2.0.0
2.0.0-develop1

View file

@ -7,7 +7,7 @@ search:
All the following attributes serve various functions as how the definition functions inside of Kometa.
| Attribute | Description & Values |
|:-----------------------------|:-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|:-----------------------------|:--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `name` | **Description:** Used to specify the name of the definition in Plex as different than the mapping name.<br>**Values:** Any String |
| `limit` | **Description:** Used to specify the max number of items for the definition<br>**Values:** Number greater than 0 |
| `template` | **Description:** Used to specify a template and template variables to use for this definition. See the [Templates Page](templates.md) for more information.<br>**Values:** Dictionary |
@ -58,6 +58,7 @@ An example of using `default_percent` which is used in an external yml file and
filters:
filepath.regex: 'HDR10\+|HDR10P'
```
An example of using `server_preroll` which is also used in an external yml file and not within config.yml:
```yml