update to yt-local v0.2.20
This commit is contained in:
parent
ef7466cb90
commit
28dac0bb36
@ -10,8 +10,6 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
release-default:
|
release-default:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container:
|
|
||||||
image: gitea/runner-images:ubuntu-latest
|
|
||||||
steps:
|
steps:
|
||||||
- name: Collect Workflow Telemetry
|
- name: Collect Workflow Telemetry
|
||||||
uses: catchpoint/workflow-telemetry-action@v2
|
uses: catchpoint/workflow-telemetry-action@v2
|
||||||
@ -19,6 +17,9 @@ jobs:
|
|||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Extract YT_BRANCH version
|
||||||
|
run: echo "VERSION=$(grep -oP 'ARG YT_BRANCH="\K[^"]+' core/Dockerfile)" >> $GITHUB_ENV
|
||||||
|
|
||||||
- name: Set up QEMU
|
- name: Set up QEMU
|
||||||
uses: docker/setup-qemu-action@v3
|
uses: docker/setup-qemu-action@v3
|
||||||
|
|
||||||
@ -43,15 +44,12 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
context: core
|
context: core
|
||||||
file: core/Dockerfile
|
file: core/Dockerfile
|
||||||
platforms: |
|
|
||||||
linux/amd64
|
|
||||||
linux/arm/v7
|
|
||||||
linux/arm64
|
|
||||||
push: false
|
push: false
|
||||||
no-cache: true
|
no-cache: true
|
||||||
|
load: true
|
||||||
tags: |
|
tags: |
|
||||||
${{ secrets.DOCKER_REGISTRY_USER}}/yt-local:latest
|
${{ secrets.DOCKER_REGISTRY_USER}}/yt-local:latest
|
||||||
${{ secrets.DOCKER_REGISTRY_USER}}/yt-local:v0.2.19
|
${{ secrets.DOCKER_REGISTRY_USER}}/yt-local:${{ env.VERSION }}
|
||||||
|
|
||||||
- name: Run Trivy vulnerability scanner
|
- name: Run Trivy vulnerability scanner
|
||||||
uses: astounds/trivy-action@v1
|
uses: astounds/trivy-action@v1
|
||||||
@ -71,11 +69,9 @@ jobs:
|
|||||||
file: core/Dockerfile
|
file: core/Dockerfile
|
||||||
platforms: |
|
platforms: |
|
||||||
linux/amd64
|
linux/amd64
|
||||||
linux/arm/v7
|
|
||||||
linux/arm64
|
linux/arm64
|
||||||
linux/386
|
|
||||||
push: true
|
push: true
|
||||||
no-cache: false
|
no-cache: false
|
||||||
tags: |
|
tags: |
|
||||||
${{ secrets.DOCKER_REGISTRY_USER}}/yt-local:latest
|
${{ secrets.DOCKER_REGISTRY_USER}}/yt-local:latest
|
||||||
${{ secrets.DOCKER_REGISTRY_USER}}/yt-local:v0.2.19
|
${{ secrets.DOCKER_REGISTRY_USER}}/yt-local:${{ env.VERSION }}
|
||||||
|
@ -3,11 +3,11 @@
|
|||||||
YT-Local in mode public instance for docker
|
YT-Local in mode public instance for docker
|
||||||
|
|
||||||
```console
|
```console
|
||||||
$ cp -v config.env.example config.env
|
cp -v config.env.example config.env
|
||||||
```
|
```
|
||||||
|
|
||||||
```console
|
```console
|
||||||
$ docker-compose up -d
|
docker-compose up -d
|
||||||
```
|
```
|
||||||
|
|
||||||
## Build container from source
|
## Build container from source
|
||||||
@ -15,9 +15,9 @@ $ docker-compose up -d
|
|||||||
To rebuild this container, copy this repository locally and run:
|
To rebuild this container, copy this repository locally and run:
|
||||||
|
|
||||||
```console
|
```console
|
||||||
$ cd core/
|
cd core/
|
||||||
```
|
```
|
||||||
|
|
||||||
```console
|
```console
|
||||||
$ docker build --no-cache --tag yt-local -f Dockerfile .
|
docker build --no-cache --tag yt-local -f Dockerfile .
|
||||||
```
|
```
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
diff --git a/settings.py b/settings.py
|
diff --git a/settings.py b/settings.py
|
||||||
index eb210c5..fce9c56 100644
|
index 2de5efa..7e0a452 100644
|
||||||
--- a/settings.py
|
--- a/settings.py
|
||||||
+++ b/settings.py
|
+++ b/settings.py
|
||||||
@@ -589,6 +589,6 @@ def settings_page():
|
@@ -591,6 +591,6 @@ def settings_page():
|
||||||
for func, old_value, value in to_call:
|
for func, old_value, value in to_call:
|
||||||
func(old_value, value)
|
func(old_value, value)
|
||||||
|
|
||||||
@ -11,7 +11,7 @@ index eb210c5..fce9c56 100644
|
|||||||
else:
|
else:
|
||||||
flask.abort(400)
|
flask.abort(400)
|
||||||
diff --git a/youtube/__init__.py b/youtube/__init__.py
|
diff --git a/youtube/__init__.py b/youtube/__init__.py
|
||||||
index 64aed56..437c5ad 100644
|
index 0072f74..3a4a4b1 100644
|
||||||
--- a/youtube/__init__.py
|
--- a/youtube/__init__.py
|
||||||
+++ b/youtube/__init__.py
|
+++ b/youtube/__init__.py
|
||||||
@@ -14,9 +14,6 @@ yt_app.url_map.strict_slashes = False
|
@@ -14,9 +14,6 @@ yt_app.url_map.strict_slashes = False
|
||||||
@ -25,10 +25,10 @@ index 64aed56..437c5ad 100644
|
|||||||
def homepage():
|
def homepage():
|
||||||
return flask.render_template('home.html', title="YT Local")
|
return flask.render_template('home.html', title="YT Local")
|
||||||
diff --git a/youtube/static/channel.css b/youtube/static/channel.css
|
diff --git a/youtube/static/channel.css b/youtube/static/channel.css
|
||||||
index 030bc11..29f0c05 100644
|
index e842beb..ca68246 100644
|
||||||
--- a/youtube/static/channel.css
|
--- a/youtube/static/channel.css
|
||||||
+++ b/youtube/static/channel.css
|
+++ b/youtube/static/channel.css
|
||||||
@@ -268,11 +268,9 @@ hr {
|
@@ -269,11 +269,9 @@ hr {
|
||||||
|
|
||||||
.item-box {
|
.item-box {
|
||||||
display: grid;
|
display: grid;
|
||||||
|
@ -7,7 +7,7 @@ ENV LC_ALL=C.UTF-8
|
|||||||
|
|
||||||
ARG APP_DIR="/srv/app"
|
ARG APP_DIR="/srv/app"
|
||||||
ARG YT_REPO="https://git.fridu.us/heckyel/yt-local.git"
|
ARG YT_REPO="https://git.fridu.us/heckyel/yt-local.git"
|
||||||
ARG YT_BRANCH="v0.2.19"
|
ARG YT_BRANCH="v0.2.20"
|
||||||
|
|
||||||
RUN apk update && \
|
RUN apk update && \
|
||||||
apk upgrade && \
|
apk upgrade && \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user