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