ci: update CI file

This commit is contained in:
Fijxu 2025-02-18 02:40:30 -03:00
parent 089c63a70b
commit 331e0a1532
No known key found for this signature in database
GPG Key ID: 32C1DDF333EDA6A4

View File

@ -1,22 +1,29 @@
name: 'Invidious CI'
name: "Invidious CI"
on:
# workflow_dispatch:
# inputs: {}
schedule:
- cron: '0 7 * * 0'
workflow_dispatch:
# schedule:
# - cron: '0 7 * * 0'
push:
branches:
- "master"
- "experimental"
- "experimental2"
paths-ignore:
- "*.md"
- LICENCE
- TRANSLATION
- invidious.service
- .git*
- .editorconfig
- screenshots/*
- .github/ISSUE_TEMPLATE/*
- kubernetes/**
jobs:
build:
runs-on: runner
steps:
- uses: https://code.forgejo.org/actions/checkout@v2
- uses: https://code.forgejo.org/actions/checkout@v4
- uses: https://code.forgejo.org/docker/setup-buildx-action@v3
name: Setup Docker BuildX system
@ -44,9 +51,6 @@ jobs:
file: docker/Dockerfile
tags: ${{ steps.meta.outputs.tags }}
platforms: linux/amd64
# cache-from: type=gha
# cache-to: type=gha,mode=max
push: true
build-args: |
"release=1"