Automated invidious docker builds

This commit is contained in:
Fijxu
2024-04-27 18:25:22 -04:00
parent 8665a69fee
commit ad591f3c32
3 changed files with 79 additions and 42 deletions

38
.forgejo/workflows/ci.yml Normal file
View File

@@ -0,0 +1,38 @@
name: 'Invidious CI'
on:
# workflow_dispatch:
# inputs: {}
schedule:
- cron: '0 7 * * 0'
push:
branches: ["*"]
jobs:
build:
runs-on: runner
steps:
- uses: https://code.forgejo.org/actions/checkout@v2
- uses: https://code.forgejo.org/docker/setup-buildx-action@v3
name: Setup Docker BuildX system
- name: Login to Docker Container Registry
uses: https://code.forgejo.org/docker/login-action@v3.1.0
with:
registry: git.nadeko.net
username: ${{ secrets.USERNAME }}
password: ${{ secrets.TOKEN }}
- uses: https://code.forgejo.org/docker/build-push-action@v5
name: Build images
with:
context: .
file: docker/Dockerfile
tags: git.nadeko.net/fijxu/invidious:latest
platforms: linux/amd64
push: true
build-args: |
"release=1"