Skip to content

Commit 4bd4ad8

Browse files
committed
ci(bump): separate versions check from regular build
1 parent a92f5a2 commit 4bd4ad8

File tree

2 files changed

+22
-3
lines changed

2 files changed

+22
-3
lines changed
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: APK Check Versions
2+
3+
on:
4+
schedule:
5+
- cron: "0 0 * * 0"
6+
workflow_dispatch:
7+
8+
permissions: {}
9+
10+
jobs:
11+
check:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- name: Check the versions
15+
shell: bash
16+
run: |
17+
docker run --pull always -t --user root "leplusorg/${GITHUB_REPOSITORY#*/docker-}:main" sh -c '
18+
apk update
19+
if apk -u list | tee -a /dev/stderr | grep -q -e . ; then
20+
exit 1
21+
fi
22+
'

qrcode/Dockerfile

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,6 @@ RUN apk -U upgrade \
2020
libqrencode-tools=4.1.1-r3 \
2121
py3-pip=25.1.1-r0 \
2222
python3=3.12.11-r0 \
23-
&& if apk -u list | tee -a /dev/stderr | grep -q -e . ; then \
24-
exit 1 ; \
25-
fi \
2623
&& apk cache clean \
2724
&& rm -rf /var/cache/apk/*
2825

0 commit comments

Comments
 (0)