Skip to content

Commit ad1bb95

Browse files
committed
ci(bump): separate versions check from regular build
1 parent cd843d9 commit ad1bb95

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+
'

img/Dockerfile

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,6 @@ RUN apk -U upgrade \
2222
optipng=0.7.8-r0 \
2323
py3-pip=25.1.1-r0 \
2424
python3=3.12.11-r0 \
25-
&& if apk -u list | tee -a /dev/stderr | grep -q -e . ; then \
26-
exit 1 ; \
27-
fi \
2825
&& apk cache clean \
2926
&& rm -rf /var/cache/apk/*
3027

0 commit comments

Comments
 (0)