Skip to content

Commit d07a674

Browse files
authored
Update dependencies, Docker images and CI actions (#173)
Update dependencies, Docker images and CI actions
2 parents c67f6b7 + f1b10f3 commit d07a674

17 files changed

Lines changed: 275 additions & 293 deletions

File tree

‎.github/dependabot.yml‎

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,13 @@ updates:
99
directory: "/" # Location of package manifests
1010
schedule:
1111
interval: "weekly"
12+
13+
- package-ecosystem: "docker" # Dockerfile base images
14+
directory: "/" # Location of Dockerfiles
15+
schedule:
16+
interval: "weekly"
17+
18+
- package-ecosystem: "github-actions" # Actions used in workflows
19+
directory: "/" # Location of workflow files
20+
schedule:
21+
interval: "weekly"

‎.github/workflows/docker-image.yml‎

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -23,27 +23,27 @@ jobs:
2323
platform: linux/arm64
2424
steps:
2525
- name: Checkout
26-
uses: actions/checkout@v4
26+
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
2727

2828
- name: Set up Docker Buildx
29-
uses: docker/setup-buildx-action@v3
29+
uses: docker/setup-buildx-action@f87e5991a6d7451dcb8d9637bfbc97413f497069 # v4.4.1
3030

3131
- name: Login to Quay.io
32-
uses: docker/login-action@v3
32+
uses: docker/login-action@8aa5831fb8d48d8f76594c7ddde61ae58019f550 # v4.8.0
3333
with:
3434
registry: quay.io
3535
username: ${{ secrets.QUAY_USERNAME }}
3636
password: ${{ secrets.QUAY_ROBOT_TOKEN }}
3737

3838
- name: Extract Docker metadata
3939
id: meta
40-
uses: docker/metadata-action@v5.5.1
40+
uses: docker/metadata-action@dc802804100637a589fabce1cb79ff13a1411302 # v6.2.0
4141
with:
4242
images: quay.io/ydrag0n/streambot
4343

4444
- name: Build and push by digest
4545
id: build
46-
uses: docker/build-push-action@v6
46+
uses: docker/build-push-action@c3c9e263c25d99ce0380d002d59b67737d91b0dc # v7.4.0
4747
with:
4848
context: .
4949
file: Dockerfile
@@ -60,7 +60,7 @@ jobs:
6060
touch "/tmp/digests/${digest#sha256:}"
6161
6262
- name: Upload digest
63-
uses: actions/upload-artifact@v4
63+
uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
6464
with:
6565
name: digests-${{ matrix.platform == 'linux/amd64' && 'amd64' || 'arm64' }}
6666
path: /tmp/digests/*
@@ -78,27 +78,27 @@ jobs:
7878
platform: linux/arm64
7979
steps:
8080
- name: Checkout
81-
uses: actions/checkout@v4
81+
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
8282

8383
- name: Set up Docker Buildx
84-
uses: docker/setup-buildx-action@v3
84+
uses: docker/setup-buildx-action@f87e5991a6d7451dcb8d9637bfbc97413f497069 # v4.4.1
8585

8686
- name: Login to Quay.io
87-
uses: docker/login-action@v3
87+
uses: docker/login-action@8aa5831fb8d48d8f76594c7ddde61ae58019f550 # v4.8.0
8888
with:
8989
registry: quay.io
9090
username: ${{ secrets.QUAY_USERNAME }}
9191
password: ${{ secrets.QUAY_ROBOT_TOKEN }}
9292

9393
- name: Extract Docker metadata
9494
id: meta
95-
uses: docker/metadata-action@v5.5.1
95+
uses: docker/metadata-action@dc802804100637a589fabce1cb79ff13a1411302 # v6.2.0
9696
with:
9797
images: quay.io/ydrag0n/streambot
9898

9999
- name: Build and push by digest
100100
id: build
101-
uses: docker/build-push-action@v6
101+
uses: docker/build-push-action@c3c9e263c25d99ce0380d002d59b67737d91b0dc # v7.4.0
102102
with:
103103
context: .
104104
file: Dockerfile.node
@@ -115,7 +115,7 @@ jobs:
115115
touch "/tmp/digests-node/${digest#sha256:}"
116116
117117
- name: Upload digest
118-
uses: actions/upload-artifact@v4
118+
uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
119119
with:
120120
name: digests-node-${{ matrix.platform == 'linux/amd64' && 'amd64' || 'arm64' }}
121121
path: /tmp/digests-node/*
@@ -128,25 +128,25 @@ jobs:
128128
- build
129129
steps:
130130
- name: Download digests
131-
uses: actions/download-artifact@v4
131+
uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2
132132
with:
133133
path: /tmp/digests
134134
pattern: digests-*
135135
merge-multiple: true
136136

137137
- name: Set up Docker Buildx
138-
uses: docker/setup-buildx-action@v3
138+
uses: docker/setup-buildx-action@f87e5991a6d7451dcb8d9637bfbc97413f497069 # v4.4.1
139139

140140
- name: Login to Quay.io
141-
uses: docker/login-action@v3
141+
uses: docker/login-action@8aa5831fb8d48d8f76594c7ddde61ae58019f550 # v4.8.0
142142
with:
143143
registry: quay.io
144144
username: ${{ secrets.QUAY_USERNAME }}
145145
password: ${{ secrets.QUAY_ROBOT_TOKEN }}
146146

147147
- name: Extract Docker metadata
148148
id: meta
149-
uses: docker/metadata-action@v5.5.1
149+
uses: docker/metadata-action@dc802804100637a589fabce1cb79ff13a1411302 # v6.2.0
150150
with:
151151
images: quay.io/ydrag0n/streambot
152152

@@ -164,25 +164,25 @@ jobs:
164164
- build-node
165165
steps:
166166
- name: Download digests
167-
uses: actions/download-artifact@v4
167+
uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2
168168
with:
169169
path: /tmp/digests-node
170170
pattern: digests-node-*
171171
merge-multiple: true
172172

173173
- name: Set up Docker Buildx
174-
uses: docker/setup-buildx-action@v3
174+
uses: docker/setup-buildx-action@f87e5991a6d7451dcb8d9637bfbc97413f497069 # v4.4.1
175175

176176
- name: Login to Quay.io
177-
uses: docker/login-action@v3
177+
uses: docker/login-action@8aa5831fb8d48d8f76594c7ddde61ae58019f550 # v4.8.0
178178
with:
179179
registry: quay.io
180180
username: ${{ secrets.QUAY_USERNAME }}
181181
password: ${{ secrets.QUAY_ROBOT_TOKEN }}
182182

183183
- name: Extract Docker metadata
184184
id: meta
185-
uses: docker/metadata-action@v5.5.1
185+
uses: docker/metadata-action@dc802804100637a589fabce1cb79ff13a1411302 # v6.2.0
186186
with:
187187
images: quay.io/ydrag0n/streambot
188188

‎Dockerfile‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
# Use Debian (trixie) as the base image
2-
FROM node:trixie
1+
# Use the Node.js 24 LTS image on Debian trixie
2+
FROM node:24-trixie
33

44
# Set the working directory
55
WORKDIR /home/bots/StreamBot

‎Dockerfile.node‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
# Use Debian (trixie) as the base image
2-
FROM node:trixie
1+
# Use the Node.js 24 LTS image on Debian trixie
2+
FROM node:24-trixie
33

44
# Set the working directory
55
WORKDIR /home/bots/StreamBot

‎README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242

4343
## 📋 Requirements
4444

45-
- **[Bun](https://bun.sh/) v1.1.39+** (recommended) or **[Node.js](https://nodejs.org/) v21+**
45+
- **[Bun](https://bun.sh/) v1.1.39+** (recommended) or **[Node.js](https://nodejs.org/) v22+**
4646
- **[FFmpeg](https://www.ffmpeg.org/)** (the bot will attempt to install it automatically if missing, but manual installation is recommended)
4747
- **[yt-dlp](https://github.com/yt-dlp/yt-dlp)** (automatically downloaded and updated by the bot)
4848

0 commit comments

Comments
 (0)