Skip to content

Commit 369fc18

Browse files
committed
ci(bump): separate versions check from regular build
1 parent 4b5fdb5 commit 369fc18

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

tor/Dockerfile

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,6 @@ RUN apk -U upgrade \
1212
gettext=0.24.1-r0 \
1313
git=2.49.1-r0 \
1414
tor=0.4.8.17-r0 \
15-
&& if apk -u list | tee -a /dev/stderr | grep -q -e . ; then \
16-
exit 1 ; \
17-
fi \
1815
&& apk cache clean \
1916
&& rm -rf /var/cache/apk/*
2017

0 commit comments

Comments
 (0)