update to yt-local v0.2.20
This commit is contained in:
parent
ef7466cb90
commit
28dac0bb36
@ -10,8 +10,6 @@ on:
|
||||
jobs:
|
||||
release-default:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: gitea/runner-images:ubuntu-latest
|
||||
steps:
|
||||
- name: Collect Workflow Telemetry
|
||||
uses: catchpoint/workflow-telemetry-action@v2
|
||||
@ -19,6 +17,9 @@ jobs:
|
||||
- name: Checkout
|
||||
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
|
||||
uses: docker/setup-qemu-action@v3
|
||||
|
||||
@ -43,15 +44,12 @@ jobs:
|
||||
with:
|
||||
context: core
|
||||
file: core/Dockerfile
|
||||
platforms: |
|
||||
linux/amd64
|
||||
linux/arm/v7
|
||||
linux/arm64
|
||||
push: false
|
||||
no-cache: true
|
||||
load: true
|
||||
tags: |
|
||||
${{ 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
|
||||
uses: astounds/trivy-action@v1
|
||||
@ -71,11 +69,9 @@ jobs:
|
||||
file: core/Dockerfile
|
||||
platforms: |
|
||||
linux/amd64
|
||||
linux/arm/v7
|
||||
linux/arm64
|
||||
linux/386
|
||||
push: true
|
||||
no-cache: false
|
||||
tags: |
|
||||
${{ 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
|
||||
|
||||
```console
|
||||
$ cp -v config.env.example config.env
|
||||
cp -v config.env.example config.env
|
||||
```
|
||||
|
||||
```console
|
||||
$ docker-compose up -d
|
||||
docker-compose up -d
|
||||
```
|
||||
|
||||
## Build container from source
|
||||
@ -15,9 +15,9 @@ $ docker-compose up -d
|
||||
To rebuild this container, copy this repository locally and run:
|
||||
|
||||
```console
|
||||
$ cd core/
|
||||
cd core/
|
||||
```
|
||||
|
||||
```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
|
||||
index eb210c5..fce9c56 100644
|
||||
index 2de5efa..7e0a452 100644
|
||||
--- a/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:
|
||||
func(old_value, value)
|
||||
|
||||
@ -11,7 +11,7 @@ index eb210c5..fce9c56 100644
|
||||
else:
|
||||
flask.abort(400)
|
||||
diff --git a/youtube/__init__.py b/youtube/__init__.py
|
||||
index 64aed56..437c5ad 100644
|
||||
index 0072f74..3a4a4b1 100644
|
||||
--- a/youtube/__init__.py
|
||||
+++ b/youtube/__init__.py
|
||||
@@ -14,9 +14,6 @@ yt_app.url_map.strict_slashes = False
|
||||
@ -25,10 +25,10 @@ index 64aed56..437c5ad 100644
|
||||
def homepage():
|
||||
return flask.render_template('home.html', title="YT Local")
|
||||
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
|
||||
+++ b/youtube/static/channel.css
|
||||
@@ -268,11 +268,9 @@ hr {
|
||||
@@ -269,11 +269,9 @@ hr {
|
||||
|
||||
.item-box {
|
||||
display: grid;
|
||||
|
@ -7,7 +7,7 @@ ENV LC_ALL=C.UTF-8
|
||||
|
||||
ARG APP_DIR="/srv/app"
|
||||
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 && \
|
||||
apk upgrade && \
|
||||
|
Loading…
x
Reference in New Issue
Block a user