mirror of
https://git.nadeko.net/Fijxu/invidious.git
synced 2026-01-04 22:11:20 +00:00
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [https://code.forgejo.org/actions/checkout](https://code.forgejo.org/actions/checkout) | action | major | `v4` -> `v5` | --- ### Release Notes <details> <summary>actions/checkout (https://code.forgejo.org/actions/checkout)</summary> ### [`v5`](https://code.forgejo.org/actions/checkout/compare/v4...v5) [Compare Source](https://code.forgejo.org/actions/checkout/compare/v4...v5) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MC4yOS4xIiwidXBkYXRlZEluVmVyIjoiNDAuMjkuMSIsInRhcmdldEJyYW5jaCI6Im1hc3RlciIsImxhYmVscyI6W119--> Reviewed-on: https://git.nadeko.net/Fijxu/invidious/pulls/217 Co-authored-by: Renovate Bot <git@nadeko.net> Co-committed-by: Renovate Bot <git@nadeko.net>
55 lines
1.5 KiB
YAML
55 lines
1.5 KiB
YAML
name: "Invidious CI"
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
push:
|
|
branches:
|
|
- "master"
|
|
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@v5
|
|
|
|
- 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.5.0
|
|
with:
|
|
registry: git.nadeko.net
|
|
username: ${{ secrets.USERNAME }}
|
|
password: ${{ secrets.TOKEN }}
|
|
|
|
- name: Docker meta
|
|
id: meta
|
|
uses: https://github.com/docker/metadata-action@v5
|
|
with:
|
|
images: git.nadeko.net/fijxu/invidious
|
|
tags: |
|
|
type=sha,format=short,prefix={{date 'YYYY.MM.DD'}}-,enable=${{ github.ref == format('refs/heads/{0}', 'master') }}
|
|
type=raw,value=latest,enable=${{ github.ref == format('refs/heads/{0}', 'master') }}
|
|
|
|
- uses: https://code.forgejo.org/docker/build-push-action@v6
|
|
name: Build images
|
|
with:
|
|
context: .
|
|
file: docker/Dockerfile
|
|
tags: ${{ steps.meta.outputs.tags }}
|
|
platforms: linux/amd64
|
|
push: true
|
|
cache-from: type=gha
|
|
cache-to: type=gha,mode=max
|