1 Commits

Author SHA1 Message Date
renovate-bot 22df0eb557 chore(deps): update alpine:3.23 docker digest to c69a6ff
Build only (for PRs) / build-only (pull_request) Successful in 50s
2026-04-15 21:01:17 +00:00
6 changed files with 8 additions and 104 deletions
+3 -3
View File
@@ -14,7 +14,7 @@ jobs:
steps: steps:
# Checkout the repository code # Checkout the repository code
- name: Checkout repository - name: Checkout repository
uses: actions/checkout@v7 uses: actions/checkout@v6
- name: Set outputs - name: Set outputs
id: vars id: vars
@@ -55,7 +55,7 @@ jobs:
if: ${{ success() }} if: ${{ success() }}
steps: steps:
- name: Checkout target repository - name: Checkout target repository
uses: actions/checkout@v7 uses: actions/checkout@v6
with: with:
repository: infrastructure/core-apps repository: infrastructure/core-apps
token: ${{ secrets.ACTIONS_TOKEN }} token: ${{ secrets.ACTIONS_TOKEN }}
@@ -83,7 +83,7 @@ jobs:
fi fi
exit 0 exit 0
- name: Push changes - name: Push changes
uses: ad-m/github-push-action@v1.3.0 uses: ad-m/github-push-action@v1.1.0
with: with:
github_token: ${{ secrets.ACTIONS_TOKEN }} github_token: ${{ secrets.ACTIONS_TOKEN }}
repository: infrastructure/core-apps repository: infrastructure/core-apps
+1 -1
View File
@@ -12,7 +12,7 @@ jobs:
steps: steps:
# Checkout the repository code # Checkout the repository code
- name: Checkout repository - name: Checkout repository
uses: actions/checkout@v7 uses: actions/checkout@v6
- name: Set outputs - name: Set outputs
id: vars id: vars
-32
View File
@@ -1,32 +0,0 @@
name: changelog
on:
push:
branches:
- dev
jobs:
changelog:
runs-on: ubuntu-latest
container: docker.io/thegeeklab/git-sv:2.1.3
steps:
- name: install tools
run: |
apk add -q --update --no-cache nodejs curl jq sed
- uses: actions/checkout@v7
with:
fetch-depth: 0
- name: Generate upcoming changelog
run: |
git sv rn -o changelog.md
export RELEASE_NOTES=$(cat changelog.md)
export ISSUE_NUMBER=$(curl -s "https://git.dubyatp.xyz/api/v1/repos/williamp/yt-dlp-bot/issues?state=open&q=Changelog%20for%20upcoming%20version" | jq '.[].number')
echo $RELEASE_NOTES
JSON_DATA=$(echo "" | jq -Rs --arg title 'Changelog for upcoming version' --arg body "$(cat changelog.md)" '{title: $title, body: $body}')
if [ -z "$ISSUE_NUMBER" ]; then
curl -s -X POST "https://git.dubyatp.xyz/api/v1/repos/williamp/yt-dlp-bot/issues" -H "Authorization: token ${{ secrets.ACTIONS_TOKEN }}" -H "Content-Type: application/json" -d "$JSON_DATA"
else
curl -s -X PATCH "https://git.dubyatp.xyz/api/v1/repos/williamp/yt-dlp-bot/issues/$ISSUE_NUMBER" -H "Authorization: token ${{ secrets.ACTIONS_TOKEN }}" -H "Content-Type: application/json" -d "$JSON_DATA"
fi
-57
View File
@@ -1,57 +0,0 @@
version: '1.1' # Configuration version.
versioning:
update-major: [breaking] # Commit types used to bump major.
update-minor: [feat, perf] # Commit types used to bump minor.
update-patch: [build, ci, chore, fix, perf, refactor, test] # Commit types used to bump patch.
# When type is not present on update rules and is unknown (not mapped on commit message types);
# if ignore-unknown=false bump patch, if ignore-unknown=true do not bump version.
ignore-unknown: false
tag:
pattern: 'v%d.%d.%d' # Pattern used to create git tag.
filter: '' # Enables you to filter for considerable tags using git pattern syntax.
release-notes:
sections: # Array with each section of release note. Check template section for more information.
- name: Breaking Changes
section-type: breaking-changes
- name: Features # Name used on section.
section-type: commits # Type of the section, supported types: commits, breaking-changes.
commit-types: [feat, perf] # Commit types for commit section-type, one commit type cannot be in more than one section.
- name: Bug Fixes
section-type: commits
commit-types: [fix]
- name: Maintenance
section-type: commits
commit-types: [chore, refactor]
- name: Documentation
commit-types: [docs]
section-type: commits
- name: CI
commit-types: [ci]
section-type: commits
branches: # Git branches config.
prefix: ([a-z]+\/)? # Prefix used on branch name, it should be a regex group.
suffix: (-.*)? # Suffix used on branch name, it should be a regex group.
disable-issue: false # Set true if there is no need to recover issue id from branch name.
skip: [] # List of branch names ignored on commit message validation.
skip-detached: false # Set true if a detached branch should be ignored on commit message validation.
commit-message:
# Supported commit types.
types: [build, ci, chore, docs, feat, fix, perf, refactor, revert, style, test]
header-selector: '' # You can put in a regex here to select only a certain part of the commit message. Please define a regex group 'header'.
scope:
# Define supported scopes, if blank, scope will not be validated, if not, only scope listed will be valid.
# Don't forget to add "" on your list if you need to define scopes and keep it optional.
values: []
footer:
issue: # Use "issue: {}" if you wish to disable issue footer.
key: jira # Name used to define an issue on footer metadata.
key-synonyms: [Jira, JIRA] # Supported variations for footer metadata.
use-hash: false # If false, use :<space> separator. If true, use <space># separator.
add-value-prefix: '' # Add a prefix to issue value.
issue:
regex: '[A-Z]+-[0-9]+' # Regex for issue id.
+4 -4
View File
@@ -3,7 +3,7 @@
######################################## ########################################
# Versions # Versions
ARG YT_DLP_VERSION="2026.07.04" ARG YT_DLP_VERSION="2026.03.17"
################################################################################ ################################################################################
# Deno builder stage # Deno builder stage
@@ -11,7 +11,7 @@ FROM denoland/deno:bin-2.6.6@sha256:9f18d20207f2699595ea26d14e0b7e123cd0cd01100a
################################################################################ ################################################################################
# YT-DLP builder stage # YT-DLP builder stage
FROM alpine:3.24@sha256:28bd5fe8b56d1bd048e5babf5b10710ebe0bae67db86916198a6eec434943f8b AS yt-dlp-builder FROM alpine:3.23@sha256:c69a6ff7c24d1ffa913798501d0e7104e0e9764e28eb44a930939f91ef829e64 AS yt-dlp-builder
ARG YT_DLP_VERSION ARG YT_DLP_VERSION
ARG TARGETARCH ARG TARGETARCH
@@ -38,7 +38,7 @@ RUN case "$TARGETARCH" in \
################################################################################ ################################################################################
# FFmpeg builder stage # FFmpeg builder stage
FROM debian:13-slim@sha256:020c0d20b9880058cbe785a9db107156c3c75c2ac944a6aa7ab59f2add76a7bd AS ffmpeg-builder FROM debian:13-slim@sha256:4ffb3a1511099754cddc70eb1b12e50ffdb67619aa0ab6c13fcd800a78ef7c7a AS ffmpeg-builder
RUN apt-get update && \ RUN apt-get update && \
apt-get install -y --no-install-recommends ffmpeg apt-get install -y --no-install-recommends ffmpeg
COPY --from=yt-dlp-builder /rootfs/bin/yt-dlp /yt-dlp COPY --from=yt-dlp-builder /rootfs/bin/yt-dlp /yt-dlp
@@ -54,7 +54,7 @@ RUN mkdir -p /rootfs/bin && \
################################################################################ ################################################################################
# App builder stage # App builder stage
FROM golang:1.26.5-trixie@sha256:117e07f49461abb984fc8aef661432461ff43d06faa22c3b73af6a49ce325cb9 AS app-builder FROM golang:1.26.2-trixie@sha256:c0074c718b473f3827043f86532c4c0ff537e3fe7a81b8219b0d1ccfcc2c9a09 AS app-builder
COPY app/ /opt/app COPY app/ /opt/app
WORKDIR /opt/app WORKDIR /opt/app
-7
View File
@@ -14,12 +14,5 @@
"depNameTemplate": "yt-dlp/yt-dlp", "depNameTemplate": "yt-dlp/yt-dlp",
"versioningTemplate": "regex:^(?<major>\\d{4})\\.(?<minor>\\d{2})\\.(?<patch>\\d{2})$" "versioningTemplate": "regex:^(?<major>\\d{4})\\.(?<minor>\\d{2})\\.(?<patch>\\d{2})$"
} }
],
"packageRules": [
{
"description": "Automerge digest-level image updates",
"matchUpdateTypes": ["digest"],
"automerge": true
}
] ]
} }